-
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
-
Re: Very New
Make sure you #include <windows.h> before gl.h.
Nate http://nate.scuzzy.net
-
Re: Very New
I had already included windows.h and it is
still not working!
Any other suggestions please?
Thanks
-
Re: Very New
Are you sure windows.h is included before gl.h?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules