I opened some code from an opengl book cd and it ran fine. I copied the code and pasted in my project (it was only a simple main.cpp) but now I get 3 errors:
Compiling…
Robot.cpp
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
Those errors points to (gl.h line 1152)
WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
Im really clueless on whats wrong here… Any help would be truely appreciated!