Whenever I try to compile any file with gl.h included I get errors in the gl.h file. Im using MSVC++98. Sorry if this seems too vague but I don''t think gl.h should be doing this. Anyone else get errors?
It could be a few things. Either you're not linking with the correct libraries, or, if you're using win32, try including windows.h before you include gl.h. gl.h requires APIENTRY and WINGDIAPI to be defined (which is done in windows.h).
ok linking the libs got rid of some of the errors. but when i try to link i get an unresolved ext symbol WinMain. do all ogl programs need a winmain start point as opposed to a main start point? thanks