Hello Christoph, Christoph Schäfer wrote: > Carsten Neumann schrieb: >> Christoph Schäfer wrote: >> >>> I just wanted to analyze your example code step by step and it turned >>> out it won't run on windows vista 64 (building 32bit though). It >>> compiles fine but on runtime it gets stucked in the draw() methode. I >>> get no window only a warning in the console: >>> >>> WARNING: Window::frameExit: Caught stray OpenGL error Der Vorgang ist >>> ung³ltig. (0x502). >>> >>> Any suggestion? >>> >> hm, hard to say what the underlying problem is as this is just a generic >> check for OpenGL errors at the end of rendering, so the point of >> interest would be where the OpenGL operation that causes this error. >> Do you have access to an OpenGL Debugger that you can run the program >> through to pinpoint the error location? >> Does the program crash or do you only get a blank screen? If the former >> can you try to get a backtrace of the crash location, perhaps that gives >> a hint too? >> > Okay, the program does not crash, it's just caught in the while loop at > osgwindow.cpp:1543 and keeps on printing the above warning. Therefore > the glut window does not show up, just the console with the warning.
ok. > I downloaded a OpenGL debugger (gDEBugger). I tried to set a breakpoint > at any OpenGL error, but the debugger just doesn't recognize the error. > What gl functions should I possibly set breakpoints at? What should I > select as frame terminator(s)? e.g. SwapBuffers. An other option would > be a free OpenGL debugger for linux, any suggestion? bugle (<http://www.opengl.org/sdk/tools/BuGLe/>) normally works fine for me. Tell it to use the "trace" chain and it will write a file with *lots* of information while the program runs. Then search through the file for the first occurrence of GL_INVALID_OPERATION, one of the OpenGL calls preceding that is the one that fails. Cheers, Carsten ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
