Hi yangzhongqi, You don't say how you've created the graphics context, what OpenGL version the context reports, what version of OpenGL your hardware and drivers supports so... there really is far too many unknowns for us to be able to do anything other than guess. My guess is however you've created your context it ain't one that supports modern OpenGL.
Robert On 27 December 2013 07:50, yangzhongqi <[email protected]> wrote: > Hi,group > > I build osg3.2.0 with qt5.1.0,and I build osgearth2.5.0 with qt5.1.0,when I > run osgearth_qt sample,it reported errors, > > > Warning: detected OpenGL error 'invalid operation' at Before Renderer::compil > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test fail > requires valid graphics context. > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glGenBuffers not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBufferData not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Error: glBindBuffer not supported by OpenGL driver > Scaling image from (256,256) to (-842150451,-842150451) > Warning: detected OpenGL error 'invalid operation' at After Renderer::compile > > how can I solve it ? > > Thank you! > > Cheers, > yangzhongqi > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=57767#57767 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

