我正在使用Visual C++ 2008 Express Eition在Windows XP上工作。 我试着去包括:openGl - 从包括的错误
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
,并得到错误的很多,如:
1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : error C2144: syntax error : 'void' should be preceded by ';'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : error C2146: syntax error : missing ';' before identifier 'glAccum'
1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : error C2182: 'APIENTRY' : illegal use of type 'void'
等
我的问题是:我可以使用那些包含或者我需要得到这些库从某处开始? 谢谢。