On 19.01.2011 19:57, Giau P wrote: > I have trouble setting VC++ 6.0. VC++ 6.0 is really old. We're only partly supporting this for compatibility. If you can, you should use VC++ 2008 or later.
> 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. This link is from FLTK 1.0 and must not be used for FLTK 1.3. The corresponding link for FLTK 1.3 is currently <http://www.fltk.org/doc-1.3/basics.html>, but this is not up-to-date and will probably be moved when FLTK 1.3.0 is released. If you need the newest docs, please download the latest RC (currently RC3) from: <http://www.fltk.org/software.php?VERSION=1.3.0rc3> or a later version from <http://www.fltk.org/software.php>. > > 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 do NOT add wsock32.lib to the linker settings. FLTK 1.3 uses winsock2 (ws2_32.lib), but you don't need to add it, unless you use it yourself. > Please help and direct me to this. Thanks, You got another reply that should help you, please see there. HTH Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

