无法打开包含GL/glew.h文件 怎么解决?
1.下载glew-2.1.0.zip(当前最新版本,我下载的好像不分32和64)GLEW: The OpenGL Extension Wrangler Library
2.复制文件。见glew-2.1.0\doc\install.html,解压后的文件中有。
也即如下操作:
bin/glew32.dll to %SystemRoot%/system32
lib/glew32.lib to {VC Root}/Lib
include/GL/glew.h to {VC Root}/Include/GL
include/GL/wglew.h to {VC Root}/Include/GL其中{VC Root}是指 (针对vs2010而言),我的电脑具体位置是D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
到此“无法打开GL/glew.h......”的问题解决。