In my project, I want to use the freeglut library from the unofficial opengl sdk.
I used Premake to create build files for vs2010. Then I built all the libraries (debug). In my project, I installed additional Include directories, additional library directories for freeglut. In additional dependencies, I added freeglutD.lib.
In the code, I simply include the freeglut header. When I want to run the program, I get an error message:
>LINK : fatal error LNK1104: cannot open file 'freeglut.lib'.
FreeglutD.lib is the only file in sdk/freeglut/lib . There is no freeglut.dll and freeglut.lib in sdk.
I used to use the freeglut 2.8.0 MSVC Package from a link that is dynamically linked (contains freeglut.dll), and everything works fine.
What's wrong?
Irbis source share