[Top][All Lists]

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

[Bug-gnubg] OS/X Build Info

From: Michael Petch
Subject: [Bug-gnubg] OS/X Build Info
Date: Tue, 16 Aug 2011 09:06:32 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20110616 Thunderbird/3.1.11

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:


/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 

reply via email to

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