[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] OS/X Build Info
From: |
Louis Zulli |
Subject: |
Re: [Bug-gnubg] OS/X Build Info |
Date: |
Tue, 16 Aug 2011 11:30:39 -0400 |
On Aug 16, 2011, at 11:06 AM, Michael Petch wrote:
> 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.
How was this handled in the past? I'm asking since I never needed to specify
this before.
> 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/opt/include"
Thanks. I used only
CPPFLAGS="-I/System/Library/Frameworks/OpenGL.framework/Headers" and everything
seems fine. Having a 64-bit gnubg with sound is nice. Thanks for the work on
sound.c
>
> /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] gnubg.com acquired, Michael Petch, 2011/08/13
- Re: [Bug-gnubg] gnubg.com acquired, Louis Zulli, 2011/08/16
- [Bug-gnubg] OS/X Build Info, Michael Petch, 2011/08/16
- Re: [Bug-gnubg] OS/X Build Info, Michael Petch, 2011/08/16
- [Bug-gnubg] Disadvantage of using CoreAudio for sound?, Louis Zulli, 2011/08/16
- Re: [Bug-gnubg] Disadvantage of using CoreAudio for sound?, Michael Petch, 2011/08/16
- Re: [Bug-gnubg] Disadvantage of using CoreAudio for sound?- FIXED Please test, Michael Petch, 2011/08/16
- Re: [Bug-gnubg] Disadvantage of using CoreAudio for sound?- FIXED Please test, Louis Zulli, 2011/08/16
- Re: [Bug-gnubg] OS/X Build Info,
Louis Zulli <=