Do I need to link to any libaries when i compile a program with visual c++ involving GLUT?
Well, yeah. You need to link to GLUT, at least. Probably also GL and GLU too.
You need to link the GLUT, GLU, and GL libraries, but you only need to include the glut.h header
I figured out what was wrong, had to mess with a couple of the project settings to get it to compile.
I have been using MFC code to setup my windows. Finally got GLUT to work =].