[osg-users] Problem with current OSG and OSX

Stev Kookmal steva44 at hotmail.com
Fri Dec 30 20:11:52 PST 2016


Hi,

All, I am wondering if anyone else is having the same issues as me with OSX.  When I build the current OSG (as of Dec. 23rd) I cannot get any of the examples or anything to run.  On the latest 3.4 build it works great... on the current build it works great on my Windows machine.  Only on my OSX machines am I running into this issue.  2013 MacBook Air and 2016 MacBook Pro both have the issue so I am not sure if it is an isolated graphics card thing.  They are both running Sierra though and Xcode 8.2.

Back to the errors, when I run the osgcallback example, I get this:

share/OpenSceneGraph/bin/osgcallback ; exit;
before readNode
after readNode
ViewerBase::configureAffinity() numProcessors=8
  databasePagers = 1

New Frame
_forceVertexArrayObject = 0
_forceVertexBufferObject = 0
Camera event callback - pre traverse0x7fc3b650ee60
Camera event callback - post traverse0x7fc3b650ee60
update callback - pre traverse0x7fc3b654b010
update callback - pre traverse0x7fc3b654b0f0
Drawable update callback 0x7fc3b654b1f0
update callback - post traverse0x7fc3b654b0f0
update callback - post traverse0x7fc3b654b010
Camera update callback - pre traverse0x7fc3b650ee60
Camera update callback - post traverse0x7fc3b650ee60
cull callback - pre traverse0x7fc3b654b010
Drawable cull callback 0x7fc3b654b1f0
cull callback - post traverse0x7fc3b654b010
Warning: detected OpenGL error 'invalid enumerant' at Before Renderer::compile
draw call back - pre drawImplementation0x7fc3b654b1f0
draw call back - post drawImplementation0x7fc3b654b1f0
Warning: detected OpenGL error 'invalid operation' at After Renderer::compile
draw call back - pre drawImplementation0x7fc3b654b1f0
draw call back - post drawImplementation0x7fc3b654b1f0
Warning: detected OpenGL error 'iWarning: detected OpenGL error 'iWarning: detected OpenGL error 'iWarning: detected OpenGL error 'invalid operation' at end of SceneView::draw()
Camera event callback - pre traverse0x7fc3b650ee60
Camera event callback - post traverse0x7fc3b650ee60
update callback - pre traverse0x7fc3b654b010
update callback - pre traverse0x7fc3b654b0f0
Drawable update callback 0x7fc3b654b1f0
update callback - post traverse0x7fc3b654b0f0
update callback - post traverse0x7fc3b654b010
Camera update callback - pre traverse0x7fc3b650ee60
Camera update callback - post traverse0x7fc3b650ee60
cull callback - pre traverse0x7fc3b654b010
Drawable cull callback 0x7fc3b654b1f0
cull callback - post traverse0x7fc3b654b010
Warning: detected OpenGL error 'invalid operation' at start of State::apply(StateSet*)
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xc60
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xc61
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xde1
Warning: detected OpenGL error 'invalid operation' after applying attribute TexGen 0x7fc3b654c530
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xb50
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4000
Warning: detected OpenGL error 'invalid operation' after applying attribute Material 0x7fc3b654b790
Warning: detected OpenGL error 'invalid operation' after applying attribute LightModel 0x7fc3b6513ce0
draw call back - pre drawImplementation0x7fc3b654b1f0
Warning: detected OpenGL error 'invalid operation' at start of Geometry::drawImplementation()
Warning: detected OpenGL error 'invalid operation' at Geometry::drawImplementation() after vertex arrays setup.
Warning: detected OpenGL error 'invalid operation' at end of Geometry::drawImplementation().
draw call back - post drawImplementation0x7fc3b654b1f0
Warning: detected OpenGL error 'invalid operation' at start of State::apply()
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xc60
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xc61


and it continues like that for every frame... would love to help out to get this problem fixed if anyone can point me in the right direction.  

Cheers, 
Steve

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69814#69814








More information about the osg-users mailing list