www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - GLUT glutCreateWindow error

When I'm trying to create GLUT Window via DMD 2.059 compilation
of my code, I'm getting an error:

freeglut  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:  57
      Current serial number in output stream:  60


But if my glut code was compiled by GDC the GLUT Window creates
fine.

Thanks.
Apr 18 2012