octave-maintainers
[Top][All Lists]
Advanced

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

Re: Configuring the latest default hg on OSX


From: Ben Abbott
Subject: Re: Configuring the latest default hg on OSX
Date: Mon, 30 Jun 2008 07:02:37 -0400


On Jun 30, 2008, at 4:21 AM, c. wrote:


On 29/giu/08, at 18:02, address@hidden wrote:

Message: 5
Date: Sat, 28 Jun 2008 20:50:57 -0400
From: Ben Abbott <address@hidden>
Subject: Configuring the latest default hg on OSX
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Today I tried to configure the latest sources with the intent of using
the Fink package manager on OSX. I'm concerned about the OpenGL part
(as I have no experience with it).


Ben,

As I mentioned in a previous post, the headers for OpenGL on OSX are in
OpenGL/gl.h
rather
than GL/gl.h
As I was not able to set autoconf to check for those, I changed the include statements in header files including gl.h (I think that it is only gl-render.h but I don't remember), but of course fixing autoconf to check for this would be better.

Checking whether fltk programs work as suggested by Shai will not give you more insight. fltk test programs work around this different naming convention by using FL/gl.h which in turn includes GL/gl.h on linux or OpenGL/gl.h on OSX, see /sw/include/FL/gl.h in your fink installation.

HTH,
c.

Thanks for reminding me. I'd neglected to verify that I'm doing that correctly. I've written a short script using sed to modify lines 32 and 33 of gl-render.h. They result is below ...

         32 #include <OpenGL/gl.h>
         33 #include <OpenGL/glu.h>

When you finish the configure process on your mac, what does the line beginning with "OPENGL libraries:" list?

Ben



reply via email to

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