Very New

I am very new to OpenGL (Last few days!) I am using OpenGl in C++ (eventually builder). But I am having trouble compiling some example programs. I have install the GL header files but get the following error when compiling:

Compiling CUBE.C:
Error C:\BC45\INCLUDE\GL\GL.H 1135: Declaration syntax error

and this continues to error 26 when it aborts.

Sorry if this is a simple question but I am really stuck! Any help will be most appricated!

jon

Make sure you #include <windows.h> before gl.h.

Nate http://nate.scuzzy.net

I had already included windows.h and it is
still not working!

Any other suggestions please?

Thanks

Are you sure windows.h is included before gl.h?