> But I can compile it with mingw, so it should work. It has > worked. Except I need > to compile it in cywin now.
Uh, OK. I gave up on cygwin. I only use mingw now... > When I use "Fl_JPEG_Image (const char *filename);" to just > test if it can load a > file from image I get an error that the "FL_Box has no member named > "Fl_JPEG_Image"". Huh? That looks like a bug in your code I'd hazard? > I would highly prefer the embedded way of course. But to test > it, its ok. > > And at "*filename" do I include the extension? Yup, give the full filename. Maybe even the path too, just to be on the safe side! Note that if you are loading images from disk, then Fl_Shared_Image is probably a better bet since it will attempt to do the Right Thing depending on file type (e.g. jpeg, png, gif, xpm, etc) whereas if you use Fl_JPEG_Image then it will expect a jpeg 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

