Have you look for the file yourself to make sure it’s there? I believe you use visual studio. It’s under $VSTUDIOPATH/VC98/Include/ I think. In .net 2003 it’s in $VSTUDIOPATH/VC7/PlatformSDK/Include.
Do you include any other files before gl.h ? or use any weird #define’s or something like that ?
If you don’t get any error about includind gl.h and yu do include it in the source file then there can be two problems.
You might #define something that prevents it from being loaded, as a stupid example: if you do #define _gl_h before including gl.h you will not get anything at all included.
Another thing is that you use precompiled headers, they can mess up you life some times, if you do make sure you do a “rebuild” or delete the .pch file before you compile.
You can also check that the file is actually included, after you include gl.h do a test with #fdef GL_VERSION_1_1 and print out some message if it exists.