Visual Studio 2012 - error LNK1104: cannot open file 'glew32.lib'

Viewed 81259

I am having issues compiling a basic openGL program on VS 2012. I get a build error upon compiltation giving me:

1>LINK : fatal error LNK1104: cannot open file 'glew32.lib'

I followed the instructions given to me by the documentation for GLEW.

In your OpenGL project open Project -> Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies -> add glew32.lib.

Also you must include #include in your sources; For that add path to your glew folder: Project -> Properties -> Configuration Properies -> General -> VC++ Directories -> Include Directories and Library Directories;

C/C++ Tab -> General -> Additional Include Directories - Add lib folder there

I have also added the glew32.dll onto my Debug folder within my project folder along with the executable. So far I keep getting this error.

If you need any more further clarification of the steps I have done please don't hesitate to ask

5 Answers
Related