Configuring the latest default hg on OSX
Ben Abbott
bpabbott at mac.com
Mon Jun 30 06:02:37 CDT 2008
On Jun 30, 2008, at 4:21 AM, c. wrote:
>
> On 29/giu/08, at 18:02, octave-maintainers-request at octave.org wrote:
>
>> Message: 5
>> Date: Sat, 28 Jun 2008 20:50:57 -0400
>> From: Ben Abbott <bpabbott at mac.com>
>> Subject: Configuring the latest default hg on OSX
>> To: octave-maintainers at octave.org
>> Message-ID: <A57453FD-0ED5-4080-BF49-43F62B8D6096 at mac.com>
>> 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
More information about the Octave-maintainers
mailing list