> Stewart wrote: > > I get heaps of errors saying <Couldn't find "windows.h">. > > I'm guessing you might have an incomplete install of Visual Studio > Express, > ie. have not installed the "platform SDK". > > VS Express 2005 (the compiler/IDE) is an oddball from the previous > releases of > VS in that they separated the compiler/IDE from the 'platform SDK'. > > Both are "free", but you have to install them separately for some > reason. > And the platform SDK, IIRC, is a PITA to install correctly. > > You'll need to install the platform SDK before you can get VSE to build > any kind of windows apps; not just FLTK, but even tiny WIN32 apps that > have #include <windows.h> at the top. > > For more info, see: > > http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/2bfed529-fb6d-48a3-ad48-fc6301486646/ > > Note that this seems to be solved in the VSE 2008 release, where > you can download/install and be able to build WIN32 apps without > doing the separate 'platform SDK' install.
Thanks very much! I've compiled it (finally) :). But when I try to link to the lib (it's name is libfltk.a) and compile the first program in the documentation (for 1.3) I get heaps of error messages, along the lines of "Undefined reference to <whatever>". I'm using windows xp and trying to compile with gcc (my ide is code::blocks). When I compilied the library, I actually used MSYS, but am about to try with Visual Studio in case there is something wrong with using MSYS.... Thanks for your help :) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

