0

I am working with X11 opengl on Cygwin and trying to run some tests on using the glew library.

Trying to compile the "Chapter2.4.c" example from here

It compiles without errors. But when trying to run from x11 (startxwin) at xterm, I get the following error:

X Error of failed request:  GLXBadFBConfig
Major opcode of failed request:  148 (GLX)
Minor opcode of failed request:  34 ()
Serial number of failed request:  21
Current serial number in output stream:  20

Any idea why this is happening? May it be something to do with the nvidia / x11 mismatch in library / headers as suggested here?

Community
  • 1
  • 1

1 Answers1

1

GLXBadFBConfig

Cygwin's X11 server does not support the features required for extended window FBConfigs to be selected, and that's exactly what this message tells you. If you're running on Windows the best course of action is to use OpenGL natively.

datenwolf
  • 159,371
  • 13
  • 185
  • 298