> Oops, typo... mdi.c

Ah, right.

>> 2. The dialogtaskbar.c builds fine with me (the missing symbol must come
>> from another lib you are not linking with)
> IupImageLibOpen is declared in iup.h and dialogtaskbar.c includes only
> iup.h and iupcontrols.h, so what lib would be required other than
> iup.lib, iupcontrols.lib, and iupstub.lib?

Let me tell you my secrete. I just use a brute force approach to find 
dependencies. With the help of the fabulous "Agent Ransack" (a grep 
tool) I search in the libs dir which one has the missing symbol, and 
than just add it to a very dumb batch file. It doesn't matter that the 
batch file has more libs than needed for one particular code (the ones 
who are not, are simply ignored).

So I came out with this batch that allow me to build the examples. OK, 
one at a time but that's because it's boring to remember how to do loops 
in batch files. Adapt for your own dir names

@echo off

cl /nologo -IC:\programs\compa_libs\iup\include ^
C:\programs\compa_libs\iup\iup.lib ^
C:\programs\compa_libs\iup\cd.lib ^
C:\programs\compa_libs\iup\im.lib ^
C:\programs\compa_libs\iup\iupweb.lib ^
C:\programs\compa_libs\iup\iupcd.lib ^
C:\programs\compa_libs\iup\cdcontextplus.lib ^
C:\programs\compa_libs\iup\iupcontrols.lib ^
C:\programs\compa_libs\iup\iupimglib.lib ^
C:\programs\compa_libs\iup\iupim.lib ^
C:\programs\compa_libs\iup\iup_mglplot.lib ^
C:\programs\compa_libs\iup\im_process.lib ^
C:\programs\compa_libs\iup\iup_scintilla.lib ^
C:\programs\compa_libs\iup\iupgl.lib ^
C:\programs\compa_libs\iup\iuptuio.lib ^
C:"\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64\OpenGL32.lib" ^
C:"\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64\GlU32.Lib" ^
/DWIN32 ^
%1%

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to