glut not compiling

I wrote my first OpenGL program using glut and it is not compiling.

Every time i include a glut function i get the following error

[undefined] link refence @ gluErrorString

Make sure you’re linking against glu32.lib.

I did link against glu32.

I am beginning to think that maybe the glut version I am using is the one which is erronous

What makes you suspect that? This message seems to suggest that your glu library is amiss or old(Version 1.1 of glu does not have an error string routine), not glut.

You could try a manual import of gluErrorString?