OpenGL - error

Miscellaneous Forums/Linux Discussion/OpenGL - error

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I get this error when trying to run any built opengl program with blitzmax in linux, and the program won't start:

Executing:untitled2.debug
/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/X11R6/lib/libGLU.so, may conflict with libstdc++.so.5
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 45
Current serial number in output stream: 45

Process complete


According to glxinfo, the nvidia driver is active and is hardware accelerated.

Edit: It is a PCI Express Graphics card in case you were wondering

Any ideas?
I'm running Linux Kernel v2.6.12-18 (Mandriva 2006),
Xorg v6.9.0-5.6,
Nvidia driver and Kernel: v 1.0 8756

I'm not into opengl yet, just want to check if it works.
Just building the program does not generate any error, it's when doing "build and run" this error appears.