Reputation: 12266
I am trying to run a C project in Visual Studio 2013, with GLUT.
After some readings over the web, I tried with freeglut, but I get the following error when trying to run my project:
1>LINK : fatal error LNK1104: cannot open file 'freeglutd.lib'
Can anyone explain how to use GLUT in Visual Studio?
Upvotes: 0
Views: 2894
Reputation: 230
Goto Configuration Properties>Linker>Input
Add freeglutd.lib in Additional Dependencies Thats it! Make sure you are using same calling conversion, which used to built the lib. i.e either stdcall or cdecl.
Upvotes: 1
Reputation: 12266
Answering myself:
Finally succeeded doing it using the following awesome guide:
http://web.eecs.umich.edu/~sugih/courses/eecs487/glut-howto/#win
Upvotes: 0