Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Very New

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Norwich\Norfolk\UK
    Posts
    5

    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

  2. #2

    Re: Very New

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

    Nate http://nate.scuzzy.net

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Norwich\Norfolk\UK
    Posts
    5

    Re: Very New

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

    Any other suggestions please?

    Thanks

  4. #4

    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
  •