我正在使用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'
等
我的問題是:我可以使用那些包含或者我需要得到這些庫從某處開始? 謝謝。