merlon wrote:
> Finally it works!
> There were just 2 things missing:
> 1) I had to deactivate 'precompiled headers'.
> 2) I had to add 'C:\fltk-1.1.9\lib\fltk.lib wsock32.lib comctl32.lib' for the 
> linker.
> 
> Somehow I don't need to do this always.
> Once, when I deactivate 'precompiled headers', I didn't had to do this again.

        When compiling from the command line, I too disabled the pre-compiled
        headers; I figure one less thing to go wrong, and can't say that I've
        ever needed them.

        FLTK builds itself with them on.. I imagine they might be on by default.

> To save 'C:\fltk-1.1.9\lib\fltk.lib wsock32.lib comctl32.lib' I had to 
> change 'C:\Programme\Microsoft Visual Studio 
> 9.0\VC\VCProjectDefaults\CoreWin.vsprops',
> that's how it looks now:
> 
> <?xml version="1.0"?>
> <VisualStudioPropertySheet
> ProjectType="Visual C++"
> Version="8.00"
> Name="Core Windows Libraries">
> <Tool> Name="VCLinkerTool"
> AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib 
> comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib 
> odbc32.lib odbccp32.lib C:\fltk-1.1.9\lib\fltk.lib wsock32.lib 
> comctl32.lib"/>
> 
> </VisualStudioPropertySheet>
> 
> You see at the end, i added 'C:\fltk-1.1.9\lib\fltk.lib wsock32.lib 
> comctl32.lib'.

        That's an interesting approach; hacking VS's XML files directly
        to get the info in there.

        Probably easier than trying to figure out where Microsoft
        has hidden it in their numerous dialogs for compile/linker settings..! 
;)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to