Why does Visual Studio want to link to glut32.lib while I have configured the project to use FreeGlut?

36 Views Asked by At

I am trying to compile a very old Win32 Visual Studio project (likely built in 2010) which requires either GLUT (3.7) or freeglut (2.4).

I downloaded freeglut and added additional paths for include and lib directories of this project to point to the freeglut include and lib.

However, I got one erro "LNK1104: cannot open file glut32.lib"

Why does Visual Studio want to link to glut32.lib (which belongs to GLUT) while I have configured the project to use FreeGlut?

I have tried to put glut32.lib in the lib path, but it only generates more errors.

0

There are 0 best solutions below