无法打开包括文件:“gl\glew.h”

上传者: pengwow2 | 上传时间: 2019-12-21 20:26:26 | 文件大小: 2.97MB | 文件类型: zip
解压,将 /bin/glew32.dll 拷贝到 c:/windows/system32 下面,将 /lib/glew32.lib 拷贝到VC安装目录下的 lib 目录下(如:/Microsoft Visual Studio 9.0/VC/lib/下),将 /include/glew.h 和 /include/wglew.h 拷贝到 VC 安装目录下的 /include/gl/ 目录下(如:/Microsoft Visual Studio 9.0/VC/include/gl/下)。在程序中我们只需要在包含gl,glu 或 glut.h 之前包含 glew.h就可以了(注意:一定要先包含 glew.h),在在代码中加上这么一句: #pragma comment (lib, "glew32.lib") 示例: #include #include #progrma comment(lib, "glew32.lib") 在创建OpenGL渲染context之后,调用 glewInit(); 初始化glew就可以了。

文件下载

资源详情

[{"title":"( 41 个子文件 2.97MB ) 无法打开包括文件:“gl\\glew.h”","children":[{"title":"glew-1.13.0","children":[{"title":"LICENSE.txt <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"Release MX","children":[{"title":"Win32","children":[{"title":"glew32mxs.lib <span style='color:#111;'> 1.48MB </span>","children":null,"spread":false},{"title":"glew32mx.lib <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"glew32mxs.lib <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"glew32mx.lib <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Release","children":[{"title":"Win32","children":[{"title":"glew32s.lib <span style='color:#111;'> 2.00MB </span>","children":null,"spread":false},{"title":"glew32.lib <span style='color:#111;'> 604.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"glew32s.lib <span style='color:#111;'> 2.11MB </span>","children":null,"spread":false},{"title":"glew32.lib <span style='color:#111;'> 595.48KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"TODO.txt <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"mesa.txt <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"build.html <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 12.53KB </span>","children":null,"spread":false},{"title":"glxew.html <span style='color:#111;'> 14.66KB </span>","children":null,"spread":false},{"title":"wglew.html <span style='color:#111;'> 13.08KB </span>","children":null,"spread":false},{"title":"glew.html <span style='color:#111;'> 93.13KB </span>","children":null,"spread":false},{"title":"glew.css <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"credits.html <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"log.html <span style='color:#111;'> 31.41KB </span>","children":null,"spread":false},{"title":"github.png <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"new.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"basic.html <span style='color:#111;'> 9.74KB </span>","children":null,"spread":false},{"title":"glew.txt <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"gpl.txt <span style='color:#111;'> 17.90KB </span>","children":null,"spread":false},{"title":"glew.png <span style='color:#111;'> 9.08KB </span>","children":null,"spread":false},{"title":"install.html <span style='color:#111;'> 9.41KB </span>","children":null,"spread":false},{"title":"advanced.html <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"khronos.txt <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ogl_sm.jpg <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.txt <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release MX","children":[{"title":"Win32","children":[{"title":"glew32mx.dll <span style='color:#111;'> 282.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"glew32mx.dll <span style='color:#111;'> 326.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Release","children":[{"title":"Win32","children":[{"title":"glew32.dll <span style='color:#111;'> 394.50KB </span>","children":null,"spread":false},{"title":"visualinfo.exe <span style='color:#111;'> 266.50KB </span>","children":null,"spread":false},{"title":"glewinfo.exe <span style='color:#111;'> 415.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"glew32.dll <span style='color:#111;'> 430.00KB </span>","children":null,"spread":false},{"title":"visualinfo.exe <span style='color:#111;'> 302.00KB </span>","children":null,"spread":false},{"title":"glewinfo.exe <span style='color:#111;'> 460.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"include","children":[{"title":"GL","children":[{"title":"glew.h <span style='color:#111;'> 1014.22KB </span>","children":null,"spread":false},{"title":"glxew.h <span style='color:#111;'> 73.16KB </span>","children":null,"spread":false},{"title":"wglew.h <span style='color:#111;'> 63.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qq_36635885 :
    刚刚没有下载到,重下
    2017-10-09
  • tym1193 :
    不错 很详细 好用
    2016-08-23
  • oqq1001 :
    可以用,不错
    2016-07-23
  • lidaojing :
    可以用,加入文件即可
    2016-06-30
  • qq_15064673 :
    讲的很详细。
    2016-01-10

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明