动态库更新支持OpenGL 3.0
2017-01-18 14:15
239 查看
下载链接: https://sourceforge.net/project/downloading.php?group_id=67586&filename=glew-1.5.1-win32.zip 点击上面的链接下载最新的GLEW(支持OpenGL 3.0),解压,将 /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 <GL/glew.h>
#include <GL/glut.h>
#progrma comment(lib, "glew32.lib")
在创建OpenGL渲染context之后,调用 glewInit(); 初始化glew就可以了。
本文出处: http://blog.csdn.net/todayq/article/details/5925233
glew.h),在在代码中加上这么一句:
#pragma comment (lib, "glew32.lib")
示例:
#include <GL/glew.h>
#include <GL/glut.h>
#progrma comment(lib, "glew32.lib")
在创建OpenGL渲染context之后,调用 glewInit(); 初始化glew就可以了。
本文出处: http://blog.csdn.net/todayq/article/details/5925233
相关文章推荐
- opengl之vsh、fsh简易介绍+cocos2dx 3.0 shader 变灰
- Ubuntu不能用apt-get更新,软件源更新(非LTS长久支持版)
- 有道云笔记Web版全面更新(全面支持Office、PDF等多种文档格式)
- wince6.0 自己编译BSP 支持sqlCE3.0
- Vitamio不支持特性列表(本文会持续更新 2013-03-13)
- android的多分辨率支持机制 由anyDensity设置导致OpenGL贴图不能显示的问题谈开
- fflua更新-增加对引用的支持
- 让PowerDesigner支持SQLite 3.0
- Servlet 3.0 新特性详解(四)可插性支持
- Silverlight Tools Beta2更新了中文语言支持
- 微软更新AirSim,支持自动驾驶汽车研究
- ASP 代码当前记录集不支持更新问题的解决办法。
- servlet 3.0无需配置web.xml,使用注入方式配置servlet实现登陆功能(服务器需要支持servlet3.0)
- JNA编程之三:调用自定义的C动态库并支持回调
- 安装 xmlbuddy 插件到 Eclipse 3.0 以支持编辑 xml 文件
- [置顶]OpenGL11-绘制汉字最高效方法(使用Freetype)(代码已更新)
- Swift3.0 -- 设置设备方向支持
- Android Studio更新到3.0以后,预览无法显示 v4,v7包控件的解决方法
- 模板,报错:法更新 EntitySet“T_Employee”,因为它有一个 DefiningQuery,而 <ModificationFunctionMapping> 元素中没有支持当前操作的 <U
- spring3.0支持restful实例