You have to make sure that the GL directory (if you use gluh.h) or the directory that contains the GL folder (if you use GL/glut.h) is on your "include path". Depending on your environment (Visual Studio, etc) the method to set the include path varies. As a test, try
#include "/full/path/to/GL/glut.h"
If that works, then google "your environment include path" to see how to set it.
I am confused why it is looking for "glut" when you told it to look for "glut.h"?
daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204