View Full Version : very simple question

06-17-2000, 07:13 PM
i don't know why i should get this error. i have made sure all .h and .dll files included.

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\GL/glut.h(10) : fatal error C1083: Cannot open include file: 'GL/gl.h': No such file or directory
Error executing cl.exe.

can anyone help to run opengl in windows 98 with vc++.

Thanks in advance

Glenn Upton
06-17-2000, 08:05 PM
What's with the (10)? Also, are you sure the file is there? In your .cpp file, I assume you just have #INCLUDE <glut.h> - if the file is there it should work. Open the glut.h file to make sure is not corrupted; also check its attributes. Hope that helps.

06-18-2000, 02:10 AM
Looks like the compiler can't open gl.h.
glut.h needs gl.h to work, so make sure gl.h is in the <includedirectory>/gl/ directory.

06-19-2000, 06:49 PM
checked your #include ??? is it #include <glut.h> ?? it has to be #include <gl/glut.h> if your glut.h is in the GL directory ;-)