[SDL] Runtime opengl failure

Simon simon.xhz at gmail.com
Mon Jan 8 15:28:40 PST 2007


[...With some code before like setenv, SDL_GL_SetAttributes...]
> SDL_Surface *surfacename=SDL_SetVideoMode(X, Y, BPP, flags);

Exactly like that.
And may I stress the point I mentionned earlier, it worked just before I 
reinstalled my system (loosing 3d drivers).

Anyway, I looked deeper and decided try and compile a game off SDL's 
list.  The game would not compile in the end due to broken declaration, 
but the configure gave me this:

checking GL/gl.h usability... no
checking GL/gl.h presence... yes
configure: WARNING: GL/gl.h: present but cannot be compiled
configure: WARNING: GL/gl.h: check for missing prerequisite headers?
configure: WARNING: GL/gl.h: proceeding with the preprocessor's result
checking for GL/gl.h... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... yes
configure: WARNING: GL/glu.h: present but cannot be compiled
configure: WARNING: GL/glu.h: check for missing prerequisite headers?
configure: WARNING: GL/glu.h: proceeding with the preprocessor's result
checking for GL/glu.h... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... yes
configure: WARNING: GL/glut.h: present but cannot be compiled
configure: WARNING: GL/glut.h: check for missing prerequisite headers?
configure: WARNING: GL/glut.h: proceeding with the preprocessor's result
checking for GL/glut.h... yes
checking GL/glx.h usability... no
checking GL/glx.h presence... yes
configure: WARNING: GL/glx.h: present but cannot be compiled
configure: WARNING: GL/glx.h: check for missing prerequisite headers?
configure: WARNING: GL/glx.h: proceeding with the preprocessor's result
checking for GL/glx.h... yes




More information about the SDL mailing list