PDA

View Full Version : very simple question



BTONSHAL
06-17-2000, 06: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, 07: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.

Bob
06-18-2000, 01: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.

Igor
06-19-2000, 05: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 ;-)