DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1980
Version: -current


The configure script fails to detect libjpeg and libpng (both libraries and
dev packages are correctly installed), the output of fltk-config is below.
To work around I added --ldstaticflags to the fltk-config commands in
configure then config.h had HAVE_LIBJPEG and HAVE_LIBPNG defined, flphoto
then compiled and works correctly. This issue is not resolved by
installing fltk v1.1.9 as --ldflags does not return -ljpeg -lpng either.
This is on Ubuntu 7.10

As in configure.in
$ fltk-config --use-images --ldflags
-lfltk_images -lfltk

Static flags
$ fltk-config --use-images --ldstaticflags
/usr/lib/libfltk_images.a -lpng -ljpeg /usr/lib/libfltk.a -lXft -lXinerama
-lpthread -lm -lX11


Link: http://www.fltk.org/str.php?L1980
Version: -current

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

Reply via email to