#include <GL/gl.h>
#include <GL/glaux.h>
#include "glos.h"
包括了这三个头文件,d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ';' before type 'void'
d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.DialogGL.exe - 1 error(s), 0 warning(s)进入d:\Program Files\Microsoft Visual Studio\VC98\Include\GL\GL.H
指向WINGDIAPI这个有错,
我这里就想按照http://www.programfan.com/article/showarticle.asp?id=2936学习这个例子
#include <GL/glaux.h>
#include "glos.h"
包括了这三个头文件,d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ';' before type 'void'
d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
d:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.DialogGL.exe - 1 error(s), 0 warning(s)进入d:\Program Files\Microsoft Visual Studio\VC98\Include\GL\GL.H
指向WINGDIAPI这个有错,
我这里就想按照http://www.programfan.com/article/showarticle.asp?id=2936学习这个例子
解决方案 »
- 对话框标题栏自绘 + 双缓冲显示位图 + 位图按钮类的使用 代码分享
- 在视图中绘制了多个位图,如何确定选择的是哪个位图,并对它如何操作
- 请问:有什么办法拷贝一个对话框资源到另一个工程中
- VC中数据库字段查询问题
- opengl中如何实现视点的变换
- 怎么利用API改变打印纸张大小?是否需要调用驱动程序?
- 如何获得一个返回多行的存储过程的执行结果?
- 请问关于数据库存储过程调试的问题,急!
- 在windows2003下怎样获取杀毒软件病毒库的日期?VC编程 急急急死我了 :(
- 请问那有Programming Windows 5th范例源代码的下载
- 怎么把一个ListCtrl的树形结构保存在文本文件里?
- 紧急求救:一个关于数据显示和打印的问题?
#include <gl\glaux.h>
#include <gl\glu.h>