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

来源:互联网 发布:淘宝直播镜像怎样设置 编辑:程序博客网 时间:2024/06/05 11:37

原博客:http://blog.csdn.net/cgcoder/article/details/8040965


1>main.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader1>main.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram1>main.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource1>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.

阅读全文
0 0
原创粉丝点击