View Full Version : cannot include glut.h file

02-19-2004, 06:25 PM
I have download the glutdlls37beta.zip
from www.opengl.org (http://www.opengl.org) and setup it ,
but when I write
#include <gl/glut.h>, compile it
I find this error " cannot include glut.h file " why ?

02-20-2004, 07:44 AM
Assuming your using Visual C++ 6.0, place the glut.h file at C:\Program Files\Microsoft Visual Studio\VC98\Include\GL. And, make certain that the include directory is in your include search path directory. See Visual C++ Tools->Options->Directory.

BTW, I use the version of GLUT at http://www.xmission.com/~nate/glut/glut-3.7.6-src.zip.

[This message has been edited by brcain (edited 02-20-2004).]

02-20-2004, 03:50 PM
thank you