I was going to suggest that, but it's not clear to me how to do that. In the 
Inherited tab, it includes /usr/X11R6/lib; /sw/lib even when Carbon is 
selected. These library paths are read-only and appear to be hardwired into the 
IDE.

Thanks.

-Phil




-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Marc Weustink
Sent: Tue 2/26/2008 9:53 AM
To: General mailing list
Subject: Re: [Lazarus] OS X/Carbon Compilation
 
Hess, Philip J wrote:
> Damien,
> 
> I google and found this:
> 
> http://developer.apple.com/releasenotes/DeveloperTools/RN-Id/index.html
> 
> See this item down in known issues:
> #
> 
> Re-export cycle detection causes many X11 programs to fail to link
> 
> There are two libGL.dylib files. One in /usr/X11/lib and one in 
> /System/Library/Frameworks/OpenGL.framework/Libraries and the former 
> re-exports the latter. The Mac OS X 10.5 linker uses -L paths to search for 
> indirect libraries. The combination of these two causes a re-export cycle 
> which will make the linker error out. The work around is to add: -dylib_file 
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>  to the link line. The -dylib_file option takes a colon separate pair of 
> paths and instructs the linker where to look for a particular indirect dylib.
> 
> #
> 
> That looks like the error you're getting.
> 
> Maybe you can comment out the OpenGL dependency in the Carbon widgetset for 
> now until this gets worked out.


Or remove the X11 dependency, since you're compiling for carbon.

Marc

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

<<winmail.dat>>

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to