With ruby 1.8.7-p72 and rubygems from the openSUSE repositories I install ruby-opengl as follows:
# gem install ruby-opengl
the installation completes without problems, however none of the examples work. All of them fail with
freeglut (aapoly_mod.rb): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 28
The same configuration and gem installation as above works under ubuntu.
Also if I download ruby 1.9.1-p129 from Download Ruby, compile it and install the gem as above it works. However the actual software I want to run sadly requires 1.8.7
So what gives? Anybody having the same problem? Any solution around?
Thanks in advance for any reply
Regards,
George