第一次编译opengl程序,编译不通过。我在vc6.0下建了一个控制台工程,编译下面代码:
#include <GL/gl.H>
#include <GL/glu.h>
#include <GL/glaux.h>main()
{
//InitializeAwindowPlease();
}
出现错误:
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ';' before type 'void'
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found请问如何解决??