[osg-users] GL_MAX_SAMPLES_EXT was not declared compile bug in OSG 2.6 release branch

Philip Lowman philip at yhbt.com
Thu Jul 31 19:36:18 PDT 2008


I got this compile error building on a Centos 5 box this afternoon.  Looks
like glext.h isn't being #included

/home/lowmanp/svn/OpenSceneGraph-2.6/src/osg/FrameBufferObject.cpp: In
static member function 'static int osg::RenderBuffer::getMaxSamples(unsigned
int, const osg::FBOExtensions*)':
/home/lowmanp/svn/OpenSceneGraph-2.6/src/osg/FrameBufferObject.cpp:221:
error: 'GL_MAX_SAMPLES_EXT' was not declared in this scope
make[2]: *** [src/osg/CMakeFiles/osg.dir/FrameBufferObject.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
make: *** [all] Error 2

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080731/92d19c0f/attachment-0002.htm>


More information about the osg-users mailing list