I built SceneGraphBuilder.i to get a look at the preprocessed code. This looks like:
void ( * sunOglCurPrimTablePtr -> oglColor4f ) ( sunOglCurrentContext , GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; There is definitely something whacky there. I'll give renaming a try, and try to find out where this is coming from. andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, March 13, 2008 2:04 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Testing of SVN version please HI Andy, The line of code is perfectly valid so I can only guess that the Sun gl.h used a wacky #define for glColor4f that is polluting the names space. Could you try tweaking the names so they don't conflict with OpenGL. Removing the gl would be fine. Robert. On Thu, Mar 13, 2008 at 5:53 PM, Andy Skinner <[EMAIL PROTECTED]> wrote: > I hit a problem compiling on solaris. > > I've attached a part of the output. I don't see what it wrong. It says > line 61 of the header file SceneGraphBuilder has an error: > > line 61: Error, norparerr: ")" expected instead of "->" > > and line 61 looks like: > > void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); > > I don't yet know what that is about. > > andy > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org