hi, i just started reading about OpenGL yesterday. i am trying to use glut to start of because i don’t know too much about windows programming. anyway, i am trying to compile a little demo program and i’m getting this error:
e:\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’
e:\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
it’s for this line in the gl.h file:
WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
and i’m assuming all the other function headers that start with WINGDIAPI will give me the same error. anyone have an idea on what the problem might be? thanks a lot.