Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ FreeImage不能与CEGUI一起使用_C++_Opengl_Cegui - Fatal编程技术网

C++ FreeImage不能与CEGUI一起使用

C++ FreeImage不能与CEGUI一起使用,c++,opengl,cegui,C++,Opengl,Cegui,我想用和一起 因此,我包括如下标题: #include <RendererModules/OpenGL/CEGUIOpenGL.h> #include <RendererModules/OpenGL/CEGUIOpenGLGeometryBuffer.h> #include <RendererModules/OpenGL/CEGUIOpenGLRenderer.h> #include <RendererModules/OpenGL/CEGUIOpenGL

我想用和一起

因此,我包括如下标题:

#include <RendererModules/OpenGL/CEGUIOpenGL.h>
#include <RendererModules/OpenGL/CEGUIOpenGLGeometryBuffer.h>
#include <RendererModules/OpenGL/CEGUIOpenGLRenderer.h>
#include <RendererModules/OpenGL/CEGUIOpenGLRenderTarget.h>
#include <RendererModules/OpenGL/CEGUIOpenGLTexture.h>
#include <RendererModules/OpenGL/CEGUIOpenGLTextureTarget.h>
#include <RendererModules/OpenGL/CEGUIOpenGLViewportTarget.h>
#nclude  <FreeImage>

请注意,当我使用CEGUI而不使用FreeImage时,它的编译没有任何问题。没有CEGUI的FreeImage也是如此。但是当我想同时使用这两个库(FreeImage和CEGUI)时,问题就来了。

gl.h
之后包含
Windows.h
时,这些错误通常出现在Windows中

请确保在包含
gl.h
或任何其他可能间接包含
gl.h
的文件之前包含
windows.h


如上所述,这是OpenGL工作所必需的。

gl.h
之后包含
Windows.h
时,这些错误通常出现在Windows中

请确保在包含
gl.h
或任何其他可能间接包含
gl.h
的文件之前包含
windows.h

如上所述,这是OpenGL工作所必需的

Error   10  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1152
Error   11  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1152
Error   12  error C2146: syntax error : missing ';' before identifier 'glAccum' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1152
Error   13  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1152
Error   14  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1152
Error   15  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   16  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   17  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   18  error C2146: syntax error : missing ';' before identifier 'glAlphaFunc' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   19  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   20  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   21  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1153
Error   22  error C2146: syntax error : missing ';' before identifier 'GLboolean'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   23  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   24  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   25  error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   26  error C2371: 'APIENTRY' : redefinition; different basic types   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   27  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1154
Error   28  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   29  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   30  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   31  error C2146: syntax error : missing ';' before identifier 'glArrayElement'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   32  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   33  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   34  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1155
Error   35  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   36  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   37  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   38  error C2146: syntax error : missing ';' before identifier 'glBegin' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   39  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   40  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   41  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1156
Error   42  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   43  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   44  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   45  error C2146: syntax error : missing ';' before identifier 'glBindTexture'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   46  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   47  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   48  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1157
Error   49  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   50  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   51  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   52  error C2146: syntax error : missing ';' before identifier 'glBitmap'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   53  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   54  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   55  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1158
Error   56  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   57  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   58  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   59  error C2146: syntax error : missing ';' before identifier 'glBlendFunc' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   60  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   61  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   62  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1159
Error   63  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   64  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   65  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   66  error C2146: syntax error : missing ';' before identifier 'glCallList'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   67  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   68  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   69  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1160
Error   70  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   71  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   72  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   73  error C2146: syntax error : missing ';' before identifier 'glCallLists' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   74  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   75  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   76  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1161
Error   77  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   78  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   79  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   80  error C2146: syntax error : missing ';' before identifier 'glClear' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   81  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   82  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   83  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1162
Error   84  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   85  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   86  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   87  error C2146: syntax error : missing ';' before identifier 'glClearAccum'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   88  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   89  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   90  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1163
Error   91  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   92  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   93  error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   94  error C2146: syntax error : missing ';' before identifier 'glClearColor'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   95  error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   96  error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   97  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1164
Error   98  error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   99  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   100 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   101 error C2146: syntax error : missing ';' before identifier 'glClearDepth'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   102 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   103 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   104 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1165
Error   105 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   106 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   107 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   108 error C2146: syntax error : missing ';' before identifier 'glClearIndex'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   109 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   110 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   111 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1166
Error   112 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   113 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   114 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   115 error C2146: syntax error : missing ';' before identifier 'glClearStencil'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   116 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   117 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   118 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1167
Error   119 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   120 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   121 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   122 error C2146: syntax error : missing ';' before identifier 'glClipPlane' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   123 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   124 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   125 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1168
Error   126 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   127 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   128 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   129 error C2146: syntax error : missing ';' before identifier 'glColor3b'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   130 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   131 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   132 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1169
Error   133 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   134 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   135 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   136 error C2146: syntax error : missing ';' before identifier 'glColor3bv'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   137 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   138 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   139 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1170
Error   140 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   141 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   142 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   143 error C2146: syntax error : missing ';' before identifier 'glColor3d'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   144 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   145 error C2086: 'int APIENTRY' : redefinition  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   146 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1171
Error   147 error C2144: syntax error : 'void' should be preceded by ';'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172
Error   148 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172
Error   149 error C2086: 'int WINGDIAPI' : redefinition c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172
Error   150 error C2146: syntax error : missing ';' before identifier 'glColor3dv'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172
Error   151 error C2182: 'APIENTRY' : illegal use of type 'void'    c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172
Error   152 error C1003: error count exceeds 100; stopping compilation  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 1172