Vulkan

error LNK2001:无法解析的外部符号 __imp____glewCreateShader

1>main.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader
1>main.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram
1>main.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource
1>main.obj : error LNK2001: unresolved external symbol __imp____glewCreateShader

解决办法:
In case anyone runs into the same problem:
In VC++, click View>Propery Pages...
Expand Configuration Properties>Linker>Input
add glew32.lib (for example) to the Additional Dependencies box.

posted on 2012-10-05 10:35  Vulkan  阅读(497)  评论(0编辑  收藏  举报

导航