Glew in VS 2010: unresolved external symbol __imp__glewInit

Posted by NoviceCai on Stack Overflow See other posts from Stack Overflow or by NoviceCai
Published on 2011-01-17T08:05:43Z Indexed on 2011/01/17 9:53 UTC
Read the original article Hit count: 277

Filed under:

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.

© Stack Overflow or respective owner

Related posts about visual-studio-2010