[osg-users] Please test SVN version of OpenSceneGraph
Andy.Skinner at mathworks.com
Mon Oct 1 08:25:30 PDT 2007
There is one glu.h in /usr/X11R6/include/GL, and another in
/System/Library/Frameworks/OpenGL.framework/Headers. They include a
difference relevant to callbacks: the first one has a define of
_GLUfuncptr that depends on __cplusplus. If __cplusplus is defined, it
defines _GLUfuncptr to take (), and otherwise it takes (GLvoid).
I'm still looking at these.
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Sent: Monday, October 01, 2007 11:04 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Please test SVN version of OpenSceneGraph
On 10/1/07, Andy Skinner <Andy.Skinner at mathworks.com> wrote:
> It is the issue of () vs (...).
> Our Mac guy came by and pointed out that include/osg/GLU has an ifdef
> for APPLE where GLU_CALLBACK_PARAMETER is defined to be '...'. When
> comments this out, it compiles for him.
> I see that there was an early August change in this file, but I
> been able to figure out the SVN diff command enough to figure out what
> specifically it was.
> Why does GLU_CALLBACK_PARAMETER need to be ...?
> Why aren't more people seeing this? (Some have seen it, according to
> some older messages, but I don't know how they are getting past it
I think this comes down to two conflicting version of glu.h being
installed on the machine, Xcode build picks up on one and the CMake
build sporadically picking up on the other.
Could you try and track down the two glu.h and report where they are
located and their contents.
osg-users mailing list
osg-users at lists.openscenegraph.org
More information about the osg-users