VS2010 wants glut32.lib instead of freeglut.lib

Hi

I am trying to build my cuda code using VS2010. I am getting the error:
LINK : fatal error LNK1104: cannot open file ‘glut32.lib’

In the Properties->Linker->Input->Additional_Dependencies section I have the libraries:
cudart.lib;freeglut.lib;glew32.lib; …
which is what the SDK examples have.

Why is it trying to use glut32.lib instead of freeglut.lib?

cheers
steve

When I’ve had this problem in the past, it’s because I included <GL/glut.h>. If you instead include <GL/freeglut.h>, it should look for the appropriate lib file.