VC++6.0运行OpenGL 出现错误Cannot open include file: 'GL/glut.h'是什么问题?
来源:互联网 发布:电脑版好压软件 编辑:程序博客网 时间:2024/05/07 11:33
以我的安装目录为例: (1)“d:\Program Files\Microsoft Visual Studio\VC98\include\GL文件夹”。把解压得到的glut.h放到这个GL文件夹里。没有GL文件夹可以自己建一个,一般都有的。(2)“d:\Program Files\Microsoft Visual Studio\VC98\lib文件夹”。把解压得到的glut.lib和glut32.lib放到静态函数库所在文件夹,即lib文件夹。(3)把解压得到的glut.dll和glut32.dll放到操作系统目录下面的system32文件夹内。(典型的位置为:C:\Windows\System32)这是非常重要的动态链接库设置!(4)创建一个Win32 Console Application。(以我创建的为例,工程名为simpleGL) (5)链接OpenGL libraries:在Visual C++中先单击Project,再单击Settings,再找到Link单击,最后在Object/library modules 的最前面加上opengl32.lib Glut32.lib Glaux.lib glu32.lib 。 (6)单击Project Settings中的C/C++标签,将Preprocessor definitions 中的_CONSOLE改为__WINDOWS。最后单击OK。
- VC++6.0运行OpenGL 出现错误Cannot open include file: 'GL/glut.h'是什么问题?
- win7 + VS2013 出现Cannot open include file: 'SDKDDKVer.h'问题
- VC++6.0错误:fatal error:cannot open include file "xxxx.h"修正的一个方法
- Cannot open include file: 'd3dx9.h' 错误
- VC++6.0编译时出现fatal error C1083: Cannot open include file: 'conio.h': No such file or directory解决
- vc++提示cannot open include file 'afxres.h'———VC安装设置问题
- fatal error C1083: Cannot open include file: 'gl\glext.h': No such file or directory
- evc 编译网上下载的SDK时候,出现错误Cannot open include file: 'pkfuncs.h'
- Qt之opengl:错误: 无法打开包括文件:“gl/glut.h”: No such file or directory
- vs2012之opengl:错误: 无法打开包括文件:“gl/glut.h”: No such file or directory
- opengl:错误: 无法打开包括文件:“gl/glut.h”: No such file or directory
- win7 + VS2013 出现Cannot open include file: 'SDKDDKVer.h'问题 附地址
- Cannot open include file: 'iostream.h'错误解决方法
- cannot open include file 'afxres.h'错误的一种解决方法
- GL/gl.h: No such file or directory # include <GL/gl.h> && cannot find -lGL
- python3.5连接MySQL出现Cannot open include file: 'config-win.h': No such file or directory 错误解决办法
- Cannot open include file: 'stdafx.h ' 类似包含问题
- VC++6.0编译时出现fatal error C1083: Cannot open include file
- 第一篇博客:在lomboz eclipse 3.3中配置tomcat7 server运行时环境
- 分享20个Android游戏源码,希望大家喜欢哈!
- android 中XML和对象转换利器Xstream的使用
- 客户端获取MAC地址
- java 常用数据库存储过程的创建示例
- VC++6.0运行OpenGL 出现错误Cannot open include file: 'GL/glut.h'是什么问题?
- 安卓巴士Android开发神贴整理
- android 两个启动入口 打开了 两个应用程序的实例的解决办法。
- 呼吁重视孩子写字姿势
- Windows开机桌面没有图标解决方法
- 派生类的构造函数和复制控制
- 变换坐标系的函数——glLoadIdentity()与glTranslatef()和glRotatef()
- android 短信接收
- webdriver 右键action.contextClick(element)