[osg-users] Please test SVN version of OpenSceneGraph

Robert Osfield robert.osfield at gmail.com
Mon Oct 1 08:49:34 PDT 2007


HI Andy,

My linux box has

/* Internal convenience typedefs */
typedef void (GLAPIENTRYP _GLUfuncptr)();

We could possible utilise these, but.. the comment doesn't fill me
with confidence.

Could users on other platforms check to see if the above is defined on
their platforms glu.h?

Cheers,
Robert.

On 10/1/07, Andy Skinner <Andy.Skinner at mathworks.com> wrote:
> 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.
>
> andy
>
> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
> Osfield
> Sent: Monday, October 01, 2007 11:04 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Please test SVN version of OpenSceneGraph
>
> Hi Andy,
>
> 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
> he
> > comments this out, it compiles for him.
> >
> > I see that there was an early August change in this file, but I
> haven't
> > 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
> now.)
>
> 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.
>
> Cheers,
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> g
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list