On 5/9/2011 12:08 PM, Brad Colbert wrote:
Hi folks,
There may be a simple answer to this question but how do you successfully
compile osg 2.9.* with OpenGL 3.0 support? I'm getting undefined functions,
such as glLoadMatrixf.
glLoadMatrixf isn't a 3.0 function. The likely cause of the problem is either
that you've enabled FFP in CMake, or there's an issue with svn trunk calling FFP
functions not wrapped by the necessary conditional compile statements.
Try fixing this in CMake first, by disabling all the checkboxes for OpenGL 2.0
and FFP. There are on by default, and they don't turn themselves off when you
select the box for 3.0. You might need to regenerate your CMake cache.
-Paul
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org