> 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>".
Sounds like you have not referenced the lib on your link line, or have linked the objects in the wrong order. The gcc linker (like many linkers) is order sensitive - you need to reference the thing that uses a lib before you reference the lib, so the linker knows which bits it needs to keep. Anything it finds in a lib that has not already been asked for by some other linked object will be discarded to save space, so if you list your libs before your code, nothing gets linked. > 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.... There's nothing wrong with Msys. I use it all the time. Perhaps this how-to would help? http://www.fltk.org/articles.php?L598 http://www.fltk.org/articles.php?L599 SELEX Galileo Ltd 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

