PDA

View Full Version : Very New



SirlollyPop
03-23-2000, 09:29 AM
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

Nate
03-23-2000, 09:34 AM
Make sure you #include <windows.h> before gl.h.

Nate http://nate.scuzzy.net

SirlollyPop
03-23-2000, 12:45 PM
I had already included windows.h and it is
still not working!

Any other suggestions please?

Thanks

Hude
03-23-2000, 10:09 PM
Are you sure windows.h is included before gl.h?