Hi Carsten Carsten Neumann schrieb: > Hello Christoph > > 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.
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? > Thanks, > Carsten > > PS: Sorry, I've not had a chance to look at the description of your > program's sync behaviour, planning to do that later today though. > You really don't need to apologize in any way, I appreciate your help very much ;-) Cheers, Christoph ------------------------------------------------------------------------------ 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
