bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved (Re: [Bug-gnubg] Compile error/3d error on MacOS 10.5.2...)


From: Achim Mueller
Subject: Solved (Re: [Bug-gnubg] Compile error/3d error on MacOS 10.5.2...)
Date: Tue, 8 Apr 2008 08:09:47 +0200
User-agent: Mutt/1.5.16 (2007-06-09)

* Christian Anthon <address@hidden> [080407 21:26]:
> I don't know how this is supposed to work on OS X. But here is an
> explanation on how things work on linux:
> 
> There are two different link paths in play here. First the one used
> when building the application. That is the one you modify. The
> application keeps track on which dynamic libs it needs, for example
> libGL.dylib, but without storing the path to find it. That makes it
> easier to use a binary on more than one computer, since on one
> computer libGL.dylib might be found in /lib and on the other in
> /opt/lib. The second link path is a runtime one, that tells the binary
> where to look for for libs, say in /lib first and in /opt/lib second.
> You need to modify this runtime ldpath as well.


I tried this one with success:

export
LDFLAGS="${LDFLAGS}-dylib_file/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"

Everything is fine now! Framerate 135.3/sec. Is it possible to put the 
above settings into the Makefile somehow?

Ciao

Achim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]