PDA

View Full Version : another error?

agent29
10-23-2005, 07:47 AM
Ok im very sorry for my troubles but now i am gett ing this error when I compile .cpp programs i visuall c++.

Compiling...
menu_test.c
c:\documents and settings\alastair\desktop\glut-3.7\test\glut\menu_test.c(10) : fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory
Error executing cl.exe.

Im so very sorryabout this. If anyone can help it would be much appreciated.

jide
10-23-2005, 07:56 AM
where is located your glut.h ? you have to tell visual C++ your include directories but I don't remember where you have to click for this menu. Should be in project or so. Another solution, maybe easier is to copy your glut.h in your include/GL subdirectory (it's where visual C++ is installed).

You'll might also fall into other errors due to the libraries. So do the same as for the headers but with the libraries (.lib).