> > Just an update, that after changing the paths as I had suspected, the > > compilation.. > > > > g++ -Wall TestFastLiteLib.cpp -o TestFastLiteLib > > -I/usr/local/include/fltk/compat/ -L/usr/local/lib -lXext -lX11 -lm > > Some [clarifications] to my last posting in this thread: > > * * * > Your application appears [to be FLTK 1], eg: > > #include <FL/Fl.h> // FLTK1 style include > > ..but I get the impression you've got FLTK2 installed, > which is [likely a problem, as FLTK2 and FLTK1 are not compatible]. > .. > * * *
Thanks for the reply. My intention was to use the latest version of FLTK's library (FLTK2). I checked it out via svn as advised on the download pages here. The command switches were just used (I modified the library include path) as I saw from documentation I found later on this site, after much frustration last night. That solved the library header file problem, and compilation went OK. I will look carefully and make sure I use them correctly. From the latest link error messages, obviously I'm not linking FLTK to my project. Thanks for the link, I'll look into it and try to figure out how to link the FLTK library to my app. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

