Did you put "#include windows.h" before any of the other OpenGl libraries? For Example:
#include windows.h //the windows header file comes first
#include glu.h
#include glut.h
...
PS: I'm not strong in C++ yet(I'm a noob) and that's the only thing I could think of.