On 7-Feb-08, at 10:34 PM, Robin Sheat wrote:

> On Friday 08 February 2008 16:19:49 Garth Dahlstrom wrote:
>>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/ 
>>> gl.h... no
>> This looks like an OSX header file location to me...
>> Very odd...
> Doesn't it search a set of locations for that file, but only reports  
> the last
> one that it tries if they all fail, which is the mac location? I  
> seem to
> recall something like that, anyway.
>

No no, the two line above it are the Linux and Windows check. The line  
of code making this situation confusing for everyone is:

if not conf.CheckLib('GL') and not conf.CheckLib('opengl32') and not  
conf.CheckCHeader('/System/Library/Frameworks/OpenGL.f
ramework/Versions/A/Headers/gl.h'):
....

I was just too lazy at the time to make a block of if statements for  
each platform. If anyone feels like changing it, be my guest. :)

> I don't know much about it, but shouldn't you use pkg-config to find  
> locations
> of things like that?
>

We do, for a few things, but as far as I know, OpenGL doesn't have  
a .pc file for pkg-config on most Linux distributions (I don't even  
know of one where it does). It'd be nice if we could use pkg-config  
for everything, but we'll have to keep dreaming for that day... :)

Thanks,
Albert


> -- 
> Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED] 
> >
>
> Hostes alienigeni me abduxerunt. Qui annus est?
>
> PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C  
> EB6D
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to