bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] compilation error: "'gl.h' file not found" on Mac OS X


From: Daisuke Takahashi
Subject: Re: [Bug-gnubg] compilation error: "'gl.h' file not found" on Mac OS X
Date: Mon, 30 Jun 2014 00:27:52 +0900

Hi,

I see. I found that, in macports environment, the libgtkglext (X11) links to 
macports' libGL. So the better choice is to add -I/opt/local/include/GL to 
CFLAGS instead of patching source files, is it right?
Thank you very much.

Regards,
Daisuke Takahashi

On 2014/06/29, at 21:57, Michael Petch <address@hidden> wrote:

> 
> 
> On 2014-06-29 6:14 AM, Louis Zulli wrote:
>> Hi,
>> 
>> On my 10.7.5 system, the header files gl.h and glu.h are present in at least 
>> three different locations:
>> 
>> Apple-supplied in /System/Library/Frameworks/OpenGL.framework/Headers
>> Xquartz-supplied in /Opt/X11/include/GL
>> Macports-supplied in /opt/local/include/GL
>> 
>> So one should proceed with caution here ...
>> 
>> 
> 
> This is the main reason why when building for OS/X I specify these paths
> on the configure line (CFLAGS). The problem is the inconsistent nature
> of different build environments.
> 
> -- 
> Michael Petch
> GNU Backgammon Maintainer / Developer
> OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304
> 
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-gnubg




reply via email to

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