> I tried to use that code, because it is a problem I'm dealing > with right > now, but I have a problem to use it. Which header files should I > include? For using the jpeglib, I included the directory > "fktl/jpeg" and > the library (lib)fltk_jpeg, but using "#include <jpeglib.h> > is missing > something, because "boolean" is undefined. When defining > "boolean" and > including "stdio.h" all the functions were "undefined reference". I'm > doing something wrong basicly?
Hmm, dunno - probably some paths thing? Anyway, this command line seems to work fine for me (testing on winXP/Msys/mingw) and should work on any host. I think... gcc write_jpg.c -o test -Wall -O2 -DSTANDALONE_FUNCTION_TEST $(fltk-config --use-images --cflags) $(fltk-config --use-images --ldflags) That's all meant to be on one line, but the mail client will wrap it funny, of course... 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

