Hi Michael,
Unfortunately I can't check in my Program.cpp as I'm mid other
modifications. I expect you build issues are just changes to remove use of
_EXT usage from the headers, but compile on my system still works because
my installed GL headers have the _EXT variants so I hadn't spotted this
Hi,
I get all these compile errors when compiling trunk
4E:\Sandbox\OpenSceneGraph\src\osg\Program.cpp(379): error C2065:
'GL_GEOMETRY_VERTICES_OUT_EXT' : undeclared identifier
4E:\Sandbox\OpenSceneGraph\src\osg\Program.cpp(379): error C2051: case
expression not constant
Update:
I added the following to include/osg/Shader just above the Shader class
definition
#ifndef GL_GEOMETRY_SHADER_EXT
#defineGL_GEOMETRY_SHADER_EXT 0x8DD9
#endif
#ifndef GL_GEOMETRY_VERTICES_OUT_EXT
#defineGL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
#endif
#ifndef
Hi Jason,
The GL_GEOMETRY_SHADER_EXT should now be GL_GEOMETRY_SHADER as this is what
GLDefines and modern OpenGL provides. I have checked this fix into
svn/trunk.
Could you update to latest in svn/trunk and let me know how you get on.
Cheers,
Robert
On 3 February 2015 at 15:24, Jason
rev5
I've been using OSG for a while now, and am attempting an upgrade from rev 13782
From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf
Of Robert Osfield
Sent: Tuesday, February 03, 2015 10:25 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] GL_GEOMETRY_SHADER_EXT
Ok, solved the GL include problem, its created by cmake and put in the output
path.
Thanks
From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf
Of Jason MacDonald
Sent: Tuesday, February 03, 2015 10:56 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users
6 matches
Mail list logo