TGE Compile error

Started by
2 comments, last by Deaken Frost 16 years, 8 months ago
i have these errors what can i do??!? h:\program files\microsoft visual studio\vc98\include\gl\gl.h(1155) : error C2144: syntax error : missing ';' before type 'void' h:\program files\microsoft visual studio\vc98\include\gl\gl.h(1155) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers h:\program files\microsoft visual studio\vc98\include\gl\gl.h(1155) : fatal error C1004: unexpected end of file found Error executing cl.exe. on this line: WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value); not license
Advertisement
You haven't provided enough information; my best guess is that you are not including the OpenGL headers in the proper order relative to the Windows header (so switch them).
it has #include <GL/gl.h> and after i wrote this i have these errors is it anything about my compiler??
If you are using OpenGL with Windows, you have to include windows.h before gl.h. I bet this is causing your problem.

This topic is closed to new replies.

Advertisement