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 2 of 2

Thread: cannot open 'GL/glut.h'

  1. #1
    Guest

    cannot open 'GL/glut.h'

    I am having trouble starting a simple program, using glut, I have included
    opengl32.lib, glut32.lib, glu32.lib, and glui32.lib in my project, and my include statements are as follows
    #include <GL/glut.h>
    #include <stdlib.h>
    The Visual Studio C++ compiler says it "cannot open file: 'GL/glut.h': No such file or directory"
    Any Help?
    Thanks in advance

  2. #2
    Guest

    Re: cannot open 'GL/glut.h'

    Hi, did you install GLUT? If not go to http://www.xmission.com/~nate/glut.html and download the [glut-3.7.6-bin.zip (117 KB)] file. Open the zip file and extract:
    Glut32.dll to c:\windows\system
    Glut32.lib to \vc\lib
    Glut.h to \vc\include\Gl
    When you extract the files uncheck "Use folder names" and then your ready to go.

    [aheijde]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •