I got an error when I execute my application:
freeglut (/home/…/dist/Debug/GNU-Linux-x86/glutstereo): 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
It is because of the stereo mode: glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH | GLUT_STEREO);
If I delete GLUT_STEREO, no error appears.
What to do to fix it?