Original Post
Hi, iv been working with DirectX and i now want to try out OpenGL and i cannot seem to get it to work. I have included the library files needed, and i ran a sample code from a tutorial and im getting errors in my gl.h file. c:\oglsdk\include\gl\gl.h(1151) : error C2144: syntax error : missing ';' before type 'void' c:\oglsdk\include\gl\gl.h(1151) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers c:\oglsdk\include\gl\gl.h(1151) : fatal error C1004: unexpected end of file found Line 1151 in gl.h is: WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value); I have no clue what is wrong or where to start. It would be much appreciated if anyone could help. Regards, Cribs