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

Reply via email to