> > Show us what you have for your link line. > > This looks a lot like you have either forgotten to link in > the necessary > > libs, or you have linked them in the wrong order. > > Remember that gcc is (indeed, many compilers are) sensitive to link > > order, so you may have the correct libs but in the wrong order. > > > > Is this what you mean: > > g++ -o bin/Release/one obj/Release/main.o /usr/lib/libfltk.a
Yes, that is probably the line. It is not complete however, as you don't seem to be linking in anything other than fltk - you will also need to link in the system libs and the various X libs and possibly a pile of other stuff. Do you have fltk-config on your system? It should have been installed along with the fltk libs themselves. If so, in a shell, running: fltk-config --ldflags Will produce the list of libs, in the appropriate order, that you need to apply for your system. I'm not at a linux box right now, and can't remember off-hand what the list would be like. Perhaps someone else has an example to hand? 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

