Hi all -- There's been a long-standing issue related to building OSG for
OpenGL3 on Windows, and that is the need to manually edit the
CMAKE_CXX_FLAGS variable to add the include path "/I" for wherever you have
placed the gl3.h (or glcorearb.h) header file. This is a problem because it
requires use of cmake-gui and makes it impossible to use cmake from command
line.

I'd like to add a "FindGL3.cmake" script to automate locating the GL3
header file.

My question is, do we need this solution only for Windows? I think this is
the case. I'm fairly certain this is *not* an issue for OSX. Linux is
really my question. Has anyone built OSG for OpenGL3 on Linux, and if so,
did you need to do anything special to find the GL3 header file?

While I'm making this change, I'd like to update the header used by OSG.
<gl3/gl.h> is outdated. I'll submit a change that moves us to the
opengl.orgcurrent standatd <gl/glcorearb.h>.

Any input on this change would be appreciated. I'll put together a
submission shortly.

-- 
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to