首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

opengl超级宝典种GLenum等数据类型显示未定义异常

2013-07-01 
opengl超级宝典种GLenum等数据类型显示未定义错误高手求助:opengl超级宝典中的代码在vs2010上运行时总是出

opengl超级宝典种GLenum等数据类型显示未定义错误
高手求助:opengl超级宝典中的代码在vs2010上运行时总是出现下面的错误
d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(76): error C2061: 语法错误: 标识符“GLenum”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(85): error C2061: 语法错误: 标识符“GLuint”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(88): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(89): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(90): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(91): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(99): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(102): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(105): error C2061: 语法错误: 标识符“GLfloat”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(108): error C2061: 语法错误: 标识符“GLuint”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(109): error C2061: 语法错误: 标识符“GLuint”
1>d:\program files\microsoft visual studio 10.0\vc\include\glbatch.h(112): error C2146: 语法错误: 缺少“;”(在标识符“primitiveType”的前
[解决办法]
可能被墙了,那就想办法从其它地方下载。


[解决办法]
偶遇到类似问题都是用
“每次用/*...*/注释掉不同部分再重新编译,直到定位到具体语法出错的位置。”
的方法解决的。

热点排行