Glew in VS 2010: unresolved external symbol __imp__glewInit
- by NoviceCai
I am learning OpenGL by following the redbook.
When I come to around page 90, I need use glGenBuffers();
Then I need install "glew".
By following the steps in
www.cs.uiowa.edu/~cwyman/classes/common/howto/winGLUT.html
I download glew.zip from glew.sourceforge.net/ and unpack the files.
I put glew.h in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
and put glew32.lib in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
and put glew32.dll in C:\Windows\System32.
After that, I build my project in VS 2010 and in Linker-input, I add dependencies glew32.lib.
But when I build it, I have error
unresolved external symbol _imp_glewInit
I spend whole day to search solutions, but did not find one.
Hope someone can help me with this.