FreeImage not work with CEGUI

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

belkacem
Quite a regular
Quite a regular
Posts: 83
Joined: Fri Jan 07, 2011 13:55

FreeImage not work with CEGUI

Postby belkacem » Mon Feb 06, 2012 16:03

Hi again !

i want to use freeImage and CEGUI together so i do something like this :

Code: Select all

#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>


but when i compile it i get lot of problems




Code: Select all

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

User avatar
Ident
CEGUI Team
Posts: 1964
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: FreeImage not work with CEGUI

Postby Ident » Mon Feb 06, 2012 16:48

Where did you include those files?

Can you give me a link to the site which told you to do it the way you do it?
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests