> I have allready copied all the code in the > http://www.seriss.com/people/erco/fltk/#Fl_JPG_Image; > I have the same errors > undefined reference to `fl_register_images()' > undefined reference to `Fl_JPEG_Image::Fl_JPEG_Image(char const*)' > > I have seen the src file but I didn't find the > fl_register_images.cxx or fl_register_images.cpp > is it lacked ?
No, it is declared in fl_images_core.cxx. It is built in to the fltk images lib. All you need to do is link to it correctly. You need to show us what you have in your compilation command, and in your link command, as you appear to have them misconfigured in some way. If you show us what you have these set to, we might be able to identify what you are doing wrong. It would also help if you posted more of the build transcript, so that we could see the full context leading up to the failure. 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

