Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Error: Cannot find GL/glut.h

  1. #1
    Newbie Newbie
    Join Date
    Dec 2013

    Error: Cannot find GL/glut.h

    I am trying to use make with OS X 10.9 for a file that requires OpenGL. I am getting this error:

    make -f makefile
    g++ -c ./src/SEDG/se_aint.cpp -o se_aint.o -Wall -O2
    In file included from ./src/SEDG/se_aint.cpp:1:
    In file included from ./src/SEDG/sedge.h:74:
    ./src/SEDG/se_graph.h:3:11: fatal error: 'GL/glut.h' file not found
    # include <GL/glut.h>
    1 error generated.

    Can anyone help resolve this error?


  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Look in /usr/include/GL/. Is there a glut.h? If not, install the freeglut package.

Posting Permissions

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