#include < string.h > #include < GL/gl.h >to:
#include < string.h > #include < windows.h > #include < GL/gl.h >Note: due to HTML formating, I had to put in spaces.. you should not have spaces between the greater-than and less-than signs in your include statements
For some reason gl.h causes a large number of errors without windows.h (102 to be exact - probably b/c it's Microsoft's gl.h). You can edit the file in Visual Studio by expanding Source Files in the workspace window and double-clicking on lowlevel.c.
The following solution is thanks to John Glassmire:
.h files in Visual Studio\vc98\include\gl\ .lib files in Visual Studio\vc98\lib\ .dll in C:\windows\system32\