Hi Giau,
setting the additional include directory to the root directory of your FLTK 
installation should do for compile. You shouldn't get any compile errors.
For successful linking your linker must know which libs to link. You have to 
enter two informations:
1) the additional link directory which for you is 
C:\Programs\FLTK\fltk-1.3.x-r7677\lib
2) the libs itself: fltk.lib, fltk_forms.lib, maybe fltk_images.lib.
   And probably comctl32.lib.
Then it should work.

Regards
testalucida


> I have trouble setting VC++ 6.0. I followed the "compiling programs with 
> microsoft visual c++" to run hello.cxx sample program, from this link: 
> http://www.fltk.org/doc-1.0/basics.html, but I am not sucessful in setting up 
> the working environment.
>
> It says:
>
> "In Visual C++ you will need to tell the compiler where to find the FLTK 
> header files. This can be done by selecting "Settings" from the "Project" 
> menu and then changing the "Preprocessor" settings under the "C/C++" tab. You 
> will also need to add the FLTK and WinSock (WSOCK32.LIB) libraries to the 
> "Link" settings. "
>
>
> I have set the additional include directory to 
> "C:\Programs\FLTK\fltk-1.3.x-r7677". I also add wsock32.lib to Object/Library 
> modules under the Link tab. What I dont understand is which fltk libraries I 
> need to add? and where they are?
>
> Please help and direct me to this. Thanks,
>
>
> Giau

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

Reply via email to