lcms.a the linker recognise the library name. However either I link with my own made static library or using /usr/local/lib/liblcms.a even after running ranlib, the compiler give me this warning message,
ld: warning prebinding disabled because dependent library: /usr/local/lib/liblcms.1.dylib is not prebound.
I am sure I have link with the static library but it always comes out with the same error message. If the dynamic library is remove, the program does not launch.
Right now, the test program + lcms is working with dynamic library only.
Peter.
On Jul 1, 2004, at 8:40 PM, Kai-Uwe Behrmann wrote:
Hi Peter,
I am not very firm with static linking, but could it be You need to feed
-llcms intead of -lcms to the linker?
Hope this helps Kai-Uwe Behrmann
Am 01.07.04, 15:27 +0800 schrieb Peter:
Hello Marti,
I have compile lcms v1.1.3 on Mac OS X (10.3.4 + Dev Tools 1.1), and it
works successfully.
1) However a minor problem, there is typedef clash with Objective C language (I am using Cocoa with lcms),
In the lcms.h header file,
typedef int BOOL;
but objc.h define BOOL as,
typedef signed char BOOL;
A simple fixed, is to rename BOOL into INTBOOL for lcms.h header file. Maybe this should be updated for Cocoa for next lcms version ?
2) I have a habit of compiled library in static form. I tried to do this for lcms under OS X but when linking the static library with program it does not work. Error message produced by the linker,
ld: can't locate file for: -lcms
Is it possible to make lcms into static library ?
Best Regards,
Peter
------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user
