The message looks like Josh tried to link statical.
fltk-config --ldstaticflags --use-images
   would have provided on my system:
/usr/lib64/libfltk_images.a -lpng -lz -ljpeg /usr/lib64/libfltk.a -lpthread 
-ldl -lm -lXext -lX11

Am 12.07.11, 01:05 +0200 schrieb Matthias Melcher:
> On 12.07.2011, at 00:42, Josh wrote:
>
>> /usr/local/lib/libfltk_images.a(Fl_JPEG_Image.o): In function 
>> `Fl_JPEG_Image::Fl_JPEG_Image(char const*)':
>> Fl_JPEG_Image.cxx:(.text+0x126): undefined reference to `jpeg_std_error'
>
>
> On top of fltk_jpeg and fltk_png, you also need to link with the jpeg 
> library, the png library, and the z compression library.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to