I’m thinking maybe GLUT and VS 2003 just aren’t compatible. After building the glut.dsw in order to get the right files installed, I started getting a link error because the linker couldn’t find OLDNAMES.lib. After repairing my installation of VS 2003 that problem went away. I’m not 100% sure building glut.dsw caused that problem. I just know the problem occurred after the fact.
Many hours later I learned all I needed to install were those 3 important files glut.h, glut32.lib, and glut32.dll thanks to this link:
but I’m still having problems getting some of Mark J. Kilgard’s demos to compile. As far as errors, I’m getting a lot of:
error C2381: ‘exit’ : redefinition;__declspec(noreturn) differs
If anyone knows how to get GLUT to run smoothly on VS 2003, or 2005 I’d like to know.
I’ve learned (and speak from experience) that just the order of the #include directives can cause a problem.
As a side note, if anyone wants to know how to link to the GLUT library in VS 2003 you can find that information at the link above.