I was trying to build fltk under Mac OS X, the building process didn't give any
error.
otool -L /usr/local/lib/libfltk_images.dylib give me information as follows:
/usr/local/lib/libfltk_images.dylib:
libfltk_images.7.dylib (compatibility version 0.0.0, current version
0.0.0)
libfltk.7.dylib (compatibility version 0.0.0, current version 0.0.0)
libfltk_png.dylib (compatibility version 0.0.0, current version 0.0.0)
libfltk_jpeg.dylib (compatibility version 0.0.0, current version 0.0.0)
libfltk_zlib.dylib (compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 11.0.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
(compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.9)
/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current
version 6.0.0)
/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current
version 6.3.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current
version 6.2.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current
version 6.4.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
those libfltk* don't have directories in front of them.
And when I was trying to build another application which relied on fltk
library, ld gave me error information as follows,
/usr/bin/ld: warning can't open dynamic library: libfltk_png.dylib referenced
from: /usr/local/lib/libfltk_images.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
/usr/bin/ld: warning can't open dynamic library: libfltk_jpeg.dylib referenced
from: /usr/local/lib/libfltk_images.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
/usr/bin/ld: warning can't open dynamic library: libfltk_zlib.dylib referenced
from: /usr/local/lib/libfltk_images.dylib (checking for undefined symbols may
be affected) (No such file or directory, errno = 2)
Can anyone give me some hints on how to solve this problem? Thanks a lot!
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk