if you use visual c++, make sure you already have the opengl library.
use #include before the #include
and if you use #include in your program make sure you are not type like this
#include , if you type like that it can be error "GL/glut.h no such file or directory"