在Visual 2005中链接OpenGL,编译错误
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1152) : error C2054: expected '(' to follow 'WINGDIAPI'1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1152) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1152) : error C2146: syntax error : missing ',' before identifier 'glAccum'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1152) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1152) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1153) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1153) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1153) : error C2146: syntax error : missing ',' before identifier 'glAlphaFunc'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1153) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1153) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1154) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1154) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1154) : error C2146: syntax error : missing ',' before identifier 'glAreTexturesResident'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1154) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1154) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1155) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1155) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1155) : error C2146: syntax error : missing ',' before identifier 'glArrayElement'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1155) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1155) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1156) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1156) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1156) : error C2146: syntax error : missing ',' before identifier 'glBegin'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1156) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1156) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1157) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1157) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1157) : error C2146: syntax error : missing ',' before identifier 'glBindTexture'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1157) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1157) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1158) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1158) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1158) : error C2146: syntax error : missing ',' before identifier 'glBitmap'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1158) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1158) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1159) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1159) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1159) : error C2146: syntax error : missing ',' before identifier 'glBlendFunc'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1159) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1159) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1160) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1160) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1160) : error C2146: syntax error : missing ',' before identifier 'glCallList'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1160) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1160) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1161) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1161) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1161) : error C2146: syntax error : missing ',' before identifier 'glCallLists'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1161) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1161) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1162) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1162) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1162) : error C2146: syntax error : missing ',' before identifier 'glClear'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1162) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1162) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1163) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1163) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1163) : error C2146: syntax error : missing ',' before identifier 'glClearAccum'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1163) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1163) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1164) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1164) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1164) : error C2146: syntax error : missing ',' before identifier 'glClearColor'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1164) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1164) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1165) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1165) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1165) : error C2146: syntax error : missing ',' before identifier 'glClearDepth'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1165) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1165) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1166) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1166) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1166) : error C2146: syntax error : missing ',' before identifier 'glClearIndex'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1166) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1166) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1167) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1167) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1167) : error C2146: syntax error : missing ',' before identifier 'glClearStencil'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1167) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1167) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1168) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1168) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1168) : error C2146: syntax error : missing ',' before identifier 'glClipPlane'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1168) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1168) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1169) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1169) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1169) : error C2146: syntax error : missing ',' before identifier 'glColor3b'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1169) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1169) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1170) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1170) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1170) : error C2146: syntax error : missing ',' before identifier 'glColor3bv'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1170) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1170) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1171) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1171) : error C2085: 'APIENTRY' : not in formal parameter list
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1171) : error C2146: syntax error : missing ',' before identifier 'glColor3d'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1171) : error C2143: syntax error : missing ';' before '('
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1171) : error C2059: syntax error : ')'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1172) : error C2054: expected '(' to follow 'WINGDIAPI'
1>d:\program files\microsoft visual studio 8\vc\platformsdk\include\gl\gl.h(1172) : fatal error C1003: error count exceeds 100; stopping compilation
1>生成日志保存在“file://d:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\xie\xie\Debug\BuildLog.htm”
1>xie - 102 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========