On 16/08/2011 8:20 AM, Louis Zulli wrote: > First, thanks for all your efforts on behalf of gnubg (and OS X support). > > Just want to report that my attempt to build the latest snapshot under OS X > 10.6.8 failed. It seems that GL headers are not being located. See below for > details. > > I simply tried > > ./autogen.sh > > ./configure > > make > > I used MacPorts to install all dependencies. Note that I have gl.h and glu.h > in several locations: > > /System/Library/Frameworks/OpenGL.framework/Headers > > /opt/local/include/GL > > /opt/X11/include/GL > > /usr/X11/include/GL > Well aware of it. Unfortunately there is no easy way to tell where the user wants to retrieve OpenGL from on OS/X (this is because it could be roll your own/darwin ports/macports AND it may be different on older versions of OS/X). So you are forced into specifying it on the ./configure line.I also HIGHLY recommend going one step further and do something like:
LDFLAGS="-L/opt/lib" CPPFLAGS="-I/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/opt/include" /opt would be whatever location you install macports to. /opt would be the default. The reason for Linking and includes also being specified is so that the proper pkg-config files can be picked up.Without these lines some libraries may not be loaded as you would expect and some functionality may go missing. -- Michael Petch CApp::Sysware Consulting Ltd. OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list Bug-gnubg@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnubg