设置GLEW窗口? [英] setting up GLEW windows?
问题描述
我有Visual Studio 2010,我想在其上设置glew.h. 我执行此步骤,但仍然出现链接器错误: 1.下载glew包
2.h文件复制到C:\ Program Files(x86)\ Microsoft SDKs \ Windows \ v7.0A \ Include
3.将.lib文件复制到C:\ Program Files(x86)\ Microsoft SDKs \ Windows \ v7.0A \ Lib
4.将glew32.dll复制到C:\ Windows \ SysWOW64
5.最后转到myproject属性,然后转到链接器->输入,添加glew32.lib, glu32.lib和opengl32.lib到其他依赖项
但我仍然有此错误:
错误LNK2001:无法解析的外部符号__imp ____ glewBlendEquation
我今天也遇到了同样的问题,因此,即使我迟到了一个月的答案,也只需在您的预处理器定义中添加GLEW_STATIC. /p>
I have visual studio 2010 and I want to set up glew.h on it. i do this step but still I have linker error: 1.download glew pack
2.copy .h files to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
3.copy .lib files to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
4.copy glew32.dll to C:\Windows\SysWOW64
5.and finally go to myproject properties then go to linker->input add glew32.lib, glu32.lib, and opengl32.lib to Additional Dependencies
but I still have this error:
error LNK2001: unresolved external symbol __imp____glewBlendEquation
I've been confronted to the same issue today, so even if I'm one month late for the answer, just add GLEW_STATIC to your preprocessor's definitions.
这篇关于设置GLEW窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!