PDA

View Full Version : #includeGL/glut.h (No such file or directory)



tuffy
03-15-2003, 05:22 PM
fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory

ive just installed Visual C++ and im getting this error message when i use the library #include<GL/glut.h>

nexusone
03-15-2003, 05:55 PM
VC++ is not shipped with glut, you have to download it. Just as the error say's the compiler can not file that file, since it is not installed.

The GLUT for windows website is run by Nate Robins.

I have a link to his site on my website.
http://www.angelfire.com/linux/nexusone/

Go there and download the glut files and install them.



Originally posted by tuffy:
fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory

ive just installed Visual C++ and im getting this error message when i use the library #include<GL/glut.h>

oliii
03-15-2003, 05:55 PM
you need to install it. It does not comes with windows or VC6.

download it from http://www.xmission.com/~nate/glut.html

don't forget to link your project with glut32.lib

oliii
03-16-2003, 05:45 PM
hey, I beat you to that by about a second http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Miguel_dup1
03-16-2003, 06:47 PM
You guys are funny. http://www.opengl.org/discussion_boards/ubb/smile.gif


Originally posted by oliii:
hey, I beat you to that by about a second http://www.opengl.org/discussion_boards/ubb/biggrin.gif

prashantgp
03-23-2003, 08:20 PM
hi
i am also facing the same problems.
ur replies could not help me getting it solved.
please be more clear as how to do it.
thanks in advance................

HalcyonBlaze
03-23-2003, 08:27 PM
Are you sure that you are placing glut.h in the $VC6DIR/include/gl/ directory? (the $VC6DIR just means that replace it with whatever the path is to your vc6 folder. You may have glut32.dll placed, but make sure that the glut.h is in that folder. You MAY be putting it in the include/ directory instead of the include/gl/ directory.

- Halcyon