[SDL] OpenGL and SDL and XP???
Hannes Niederhausen
el_bosso at web.de
Thu Feb 21 04:37:00 PST 2002
or use
#include "SDL_opengl.h"
which include the windows and GL headers.
At 11:52 21.02.02 +0100, you wrote:
>include <windows.h> before "gl.h"
>
>LvR,
>
>-----Message d'origine-----
>De: MARS_999 [mailto:mars_999 at mac.com]
>Date: jeudi 21 février 2002 11:29
>À: sdl at libsdl.org
>Objet: [SDL] OpenGL and SDL and XP???
>
>
>Ok, I just moved back to a PC form Mac OSX and am having a problem getting
>OpenGL to work in XP? I am using #include <gl/gl.h> and #include <gl/glu.h>
>and no luck? I get this error
>
>C2144: syntax error : missing ';' before type 'void'
>c:\c++\vc98\include\gl\gl.h(1152) : error C2501: 'WINGDIAPI' : missing
>storage-class or type specifiers
>c:\c++\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of
>file found
>Error executing cl.exe.
>
>main.obj - 3 error(s), 0 warning(s)
>
>confused why this would be? Any help would be apprecitated. Thanks
>
>
>
>_______________________________________________
>SDL mailing list
>SDL at libsdl.org
>http://www.libsdl.org/mailman/listinfo/sdl
>
>_______________________________________________
>SDL mailing list
>SDL at libsdl.org
>http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list