> Then link FLTK as a library, not as object code: "/usr/local/ > lib/libfltk2.a" should be "-lfltk2" and > "/usr/local/lib/libfltk2_gl.a" > sould be "-lfltk2_gl".
Well, either is valid, really. Indeed, if you are trying to explicitly force static linking, then you *need* to use the "/usr/local/lib/libfltk2.a" form, so as to explicitly bypass linking against the dynamic lib (if it exists.) The linker, if given a "free choice" via using "-lfltk2" will pick the dynamic lib before the static lib every time... As a result, I quite often use the "/usr/local/lib/libfltk2.a" form (compiling on a lot of my platforms) since my code needs to run on other hosts that do not have the fltk2 dylibs/dll's installed. Static linking of fltk == portability! > Your GraphTable header file is not protected from > double inclusion by an #ifdef/#endif bracket which may also > be related to this. Oh yes... That's a point, that rings a few bells... Can't recall the details though... SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

