> > You need to link against the fltk image libs. You did not show us > > your compile or link commands, but for a single file, fltk-config > > will work. > > Try this: > > > > fltk-config --use-images --compile my_prog.cxx > > I deleted the original message on the mailing list, so can't check, > but does it also need a call to "fl_register_images()" before use?
Oh yes - that's a good point. Though I'm not sure the OP had got that far yet... (For the OP's benefit...) It might be worth taking a look at the pixmap_browser demo in the test folder, or see if Greg has anything relevant, such as: http://www.seriss.com/people/erco/fltk/#Fl_JPG_Image 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

