初学OpenGL,刚编个入门程序就被glos.h难倒了
原程序如下
#include <GL/gl.h>
#include <GL/glaux.h>
#include "glos.h"
void main(void)
{
auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);
auxInitPosition(0,0,500,500);
auxInitWindow("simple");
glClearColor(0.0,0.0,0.0,0.0);
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0,0.0,0.0);
glRectf(-0.5,-0.5,0.5,0.5);
glFlush();
_sleep(1000);
}
为什么编译的时候总说 不能打开 glos.h呢??
很郁闷啊,第一个入门的程序都实现不了,各位大哥帮帮忙