Hi, I'm on winXP, and given DevC++'s non-maintenance I have, probably not on my own, switched to code::blocks. But I still have DevC++ on my system and still think it's very good. There are fltk devpacks but not one for v1.3, at least not one that is actually downloadable, so I thought I'd just make my installed release, fltk-1.3.x-r7613, work.
Here's how I did it, written as a tentative how-to: --- DevC++ on WinXP with MinGW and MSYS with FLTK built and DevC++ installed: Update DevC++: Go to Tools | Check for Updates/Packages, and update MinGW, Win32 API and other such tools. Note there is a fltk 1.3 snapshot on the GUI list but the file is not downloadable. Create a new Empty Project. Go to Project Options | Directories | Library Directories, and add the path to the fltk lib folder, in my case it is: C:\fltk-1.3.x-r7613\lib. Hit Add. Go to Include Directories, and add the path to the fltk include folder, in my case it is: C:\fltk-1.3.x-r7613\include. Hit Add. >From a MSYS concole type: > fltk-config --ldflags > flags.txt This puts the output of the script (that is the flags to link against fltk) into flags.txt, in my case: -L/usr/local/lib -mwindows -mno-cygwin -lfltk -lpthread -lole32 -luuid -lcomctl32 Back at DevC++ still in Project Options, go to the Parameters tab, in the Linker field paste the content from flags.txt, hit OK. Create a new empty source file (adding it to the current project) and copy into this what's in 'Listing 1 - "hello.cxx"' from the fltk docs. Save As something and compile and run... and magic. Thus any release of FLTK can run on DevC++. (I haven't considered or tested whether this is enough to compile for OpenGL use, yet.) Comments? pawel. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

