1.下载glew-2.1.0.zip(当前最新版本,我下载的好像不分32和64)GLEW: The OpenGL Extension Wrangler Library

无法打开包含GL/glew.h文件 怎么解决?

2.复制文件。见glew-2.1.0\doc\install.html,解压后的文件中有。




无法打开包含GL/glew.h文件 怎么解决?

无法打开包含GL/glew.h文件 怎么解决?


也即如下操作:

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......”的问题解决。

相关文章:

  • 2021-04-20
  • 2021-08-05
  • 2022-12-23
  • 2021-06-11
  • 2021-04-25
  • 2021-04-10
  • 2021-04-28
猜你喜欢
  • 2021-10-31
  • 2021-10-10
  • 2021-11-21
  • 1970-01-01
  • 2021-07-21
  • 2021-10-02
  • 2021-12-30
相关资源
相似解决方案