MacArthur, Ian (SELEX GALILEO, UK) wrote:
> Still an issue with it not forcing the image libs to "static" if I use
> the system image libs, but that's probably not a show stopper...
>
> i.e., if I have configured to use the fltk built-in image libs, I get:
>
> /d/IanMacarthur/svn/fltk-1.1-local
> $ ../fltk-1.1/fltk-config --use-images --ldstaticflags
> -mwindows -L/usr/local/lib -mno-cygwin ../fltk-1.1/lib/libfltk_images.a
> -lpng -lz -ljpeg ../fltk-1.1/lib/libfltk.a -lole32 -luuid -lcomctl32
> -lwsock32
Ian, I can't replicate _this_ anymore (didn't check other cases though).
I used:
$ ./configure --enable-threads \
--enable-localjpeg --enable-localpng --enable-localzlib \
--prefix=/usr/local/fltk-1.1
under cygwin (but w/o --enable-cygwin), and I get the correct static
image libs:
$ ../fltk-1.1/fltk-config --use-images --ldstaticflags
-mwindows -mno-cygwin ../fltk-1.1/lib/libfltk_images.a
../fltk-1.1/lib/libfltk_png.a ../fltk-1.1/lib/libfltk_z.a
../fltk-1.1/lib/libfltk_jpeg.a ../fltk-1.1/lib/libfltk.a -ldl -lole32
-luuid -lcomctl32 -lwsock32
and with the installed version:
$ /usr/local/fltk-1.1/bin/fltk-config --use-images --ldstaticflags
-mwindows -mno-cygwin /usr/local/fltk-1.1/lib/libfltk_images.a
/usr/local/fltk-1.1/lib/libfltk_png.a
/usr/local/fltk-1.1/lib/libfltk_z.a
/usr/local/fltk-1.1/lib/libfltk_jpeg.a /usr/local/fltk-1.1/lib/libfltk.a
-ldl -lole32 -luuid -lcomctl32 -lwsock32
Could you please check again?
This is an excerpt from configure:
checking for library containing dlsym... -ldl
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
[ there is _no_ check for png/zlib/jpeg ]
checking pthread.h usability... no
checking pthread.h presence... no
checking for pthread.h... no
...
Configuration Summary
-------------------------------------------------------------------------
Directories: prefix=/usr/local/fltk-1.1
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib
mandir=${datarootdir}/man
Graphics: GDI
Image Libraries: JPEG=Builtin
PNG=Builtin
ZLIB=Builtin
Large Files: NO
OpenGL: YES
Threads: YES
I don't know yet what would happen if I use the default (let configure
check presence of image libs).
So, what's the difference ?
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev