Hi, As suggested in a previous reply from Robert, I have updated from 2.2 to 2.3.7. In the process I discovered that there is a problem with an application that I have which requires the use of some OSG headers, specifically gl2extensions, and glew.h. Both headers define GL_VERSION_2_0 and GL_VERSION_2_1. Since glew.h requires it be the first header file before gl.h, it must be included before OSG and defines GL_VERSION_2_0 and GL_VERSION_2_1 which causes the gl2extensions header to not define certain things such as GL_FLOAT_MAT2x3 that the osg/uniform header requires.
I can get around this by undefining GL_VERSION_2_0 and GL_VERSION_2_1, but they probably ought to be renamed to something else so as not to conflict with glew.h. A quick Google search reveals that this problem has been seen before. Can we not simply rename these defines in gl2extensions to perhaps OSG_GL_VERSION_2_0 and OSG_GL_VERSION_2_1? Granted, there will be some redundancy between glew and OSG defining the same things, but a good compiler will issue warnings if two similar defines clash. Thanks, Brian _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

