>> can i set this somewhere, so that i don't have to type it everytime i 
>> want
>> to program?
>
> I don't know, I assume there's ways to make templates in Visual Studio,
> but I've never done that.
>
> Even though I made that video, oddly I'm probably the /last/ person
> to ask, as I never use the IDE for building under windows.. I always
> use the command line + makefiles. I had to kind of 'learn' how to do
> the GUI just enough to make the video, cause so many folks were asking,
> that I felt motivated to make it.
>
> Some of the other folks here use the IDE, they might be able to tell you.
>
> If it were me, once the hello world works, I'd just copy that project
> over to start new projects.

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.

And of course linking to the lib-folder und inc-folder and so on of FLTK.

Somehow I don't need to do this always.
Once, when I deactivate 'precompiled headers', I didn't had to do this 
again.
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'.


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to