very simple question

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

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.

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.

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 :wink: