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

Reply via email to