Sign in to follow this  
jbizzler

OpenGL gl.h Compiler Errors

Recommended Posts

I'm just starting to program for OpenGL, and am off to a bad start. gl.h puts off a million compiler errors. Here are all the errors of one line: 1>c:\program files\microsoft sdks\windows\v6.0\include\gl\gl.h(1152) : error C2144: syntax error : 'void' should be preceded by ';' 1>c:\program files\microsoft sdks\windows\v6.0\include\gl\gl.h(1152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files\microsoft sdks\windows\v6.0\include\gl\gl.h(1152) : error C2146: syntax error : missing ';' before identifier 'glAccum' 1>c:\program files\microsoft sdks\windows\v6.0\include\gl\gl.h(1152) : error C2182: 'APIENTRY' : illegal use of type 'void' 1>c:\program files\microsoft sdks\windows\v6.0\include\gl\gl.h(1152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Anyone know?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this