I have to use openGL for a graphics class I’m taking currently. So far I’ve compiled and run several different projects without issue, however recently something went completely bonkers and I’m having difficulty getting to the cause of it.
The issue is I can’t run any program using openGL at the moment regardless of when it was made/compiled.
Solution files I downloaded from the teacher’s website ages ago all fail to run with the same error despite being fine two days ago:
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x951de10
OpenGL Warning: Retry with 0xd1 returned 1 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x951de10
OpenGL Warning: Retry with 0xd1 returned 1 visuals
framework.cpp:65: OpenGL error “invalid enumerant” (0x0500) detected on call:
glutReshapeWindow(defaultCanvasWidth, defaultCanvasHeight)
– exiting with core dump (where available)
Aborted
framework.cpp is a file that’s provided to us by the teacher and involves no coding to be done by us, and again, there can’t possibly be something wrong with it as the compiled version of these programs were fine for the last four months.
Does anyone know of some kind of Ubuntu update or really any other possibility that could’ve caused this OS wide issue?
Again, I can technically provide code, but code shouldn’t be the problem here, it was working only days ago, no changes made period.
Disabling the hardware acceleration did work, thank you.
I am using VirtualBox, sorry about not specifying that beforehand. Specifically I’m running Ubuntu 10.04 LTS on VirtualBox under Windows 7
Not sure whether or not you still need any of that information, since I guess the workaround does indeed… well, work, but running those commands gets me these: