glut32.lib CreateWindow

Hi.
I just started with OpenGl, and I tried to compile some code (just drawing a rectangle).
The program uses only glut.h.
I get this error when compiling the project:

GLRect.obj : error LNK2001: unresolved external symbol ___glutCreateWindowWithExit@8
Release/GLRect.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

The project also comes with an executable and it works.
So perhaps I have the wrong glut32.lib ?

The OpenGL under windows forum seems more appropriate for your request.

yeah i think this should be in the windows section too …anyway it sounds like you are not linking against glut32.lib, what are you using devc++, MS vis c++ 6/7.x???

I extracted another glut32.lib in the lib dir (VC 6.0) and now it works fine.