( I assume you are on windows and using a
modern visual studio)
- OpenGL libraries should be included in the Visual Studio distribution.
- The gl.h and glu.h includes should be there.
- you should use a SDI or MDI (or multiple top level) application type; NOT a console application.
I just created a dummy application ( multiple top level windows ) with VS2008 and inluded the header files :
// OpenGL headers
#include "gl\gl.h"
#include "gl\glu.h"
And all looks dandy...
If the include are not there, search for the files on your hard-drive and check again the installation of Visual Studio.
also, don't forget to link with
opengl32.lib
glu32.lib
Max.