CMake and visual studio errors

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

AgresivD
Just popping in
Just popping in
Posts: 3
Joined: Sat Aug 01, 2015 06:49

CMake and visual studio errors

Postby AgresivD » Sat Aug 01, 2015 07:01

Hey,
I want add cegui to my project and i follow this tutorial first: https://www.youtube.com/watch?v=mwf_gDVudsE

My project is for 64bit only and in CMake i chose the Visual Studio 12 2013 Win64.
When i used CMake to build cegui-0.8.4 i got this errors in CMake:

Code: Select all

Could NOT find PCRE (missing:  PCRE_LIB_DBG)
Could NOT find FREETYPE (missing:  FREETYPE_LIB_DBG)
Could NOT find MINIZIP (missing:  MINIZIP_LIB MINIZIP_LIB_DBG MINIZIP_H_PATH)
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing:  FRIBIDI_FOUND_ALL_LIBS FRIBIDI_FOUND_ALL_LIBS_DBG FRIBIDI_INCLUDE_DIR)
Could NOT find GLEW (missing:  GLEW_LIB_DBG)
Could NOT find GLFW (missing:  GLFW_LIB_DBG)
Could NOT find D3DX11EFFECTS (missing:  D3DX11EFFECTS_LIB_DBG)
Could NOT find IRRLICHT (missing:  IRRLICHT_LIB IRRLICHT_H_PATH)
Could NOT find OGRE (missing:  OGRE_LIB OGRE_H_PATH OGRE_H_BUILD_SETTINGS_PATH)
Could NOT find OIS (missing:  OIS_LIB OIS_H_PATH)
Could NOT find DIRECTFB (missing:  DIRECTFB_LIB DIRECTFB_LIB_DBG DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing:  OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find EXPAT (missing:  EXPAT_LIB_DBG)
Could NOT find XERCESC (missing:  XERCESC_LIB XERCESC_LIB_DBG XERCESC_H_PATH)
Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find TINYXML (missing:  TINYXML_LIB TINYXML_LIB_DBG TINYXML_H_PATH)
Could NOT find RAPIDXML (missing:  RAPIDXML_H_PATH)
Could NOT find IL (missing:  IL_LIB IL_LIB_DBG IL_H_PATH)
Could NOT find ILU (missing:  ILU_LIB ILU_LIB_DBG)
Could NOT find FREEIMAGE (missing:  FREEIMAGE_LIB FREEIMAGE_LIB_DBG FREEIMAGE_H_PATH)
Could NOT find SILLY (missing:  SILLY_LIB_DBG)
Could NOT find CORONA (missing:  CORONA_LIB CORONA_LIB_DBG CORONA_H_PATH)
Could NOT find PVRTOOLS (missing:  PVRTOOLS_LIB PVRTOOLS_H_PATH)
Could NOT find LUA51 (missing:  LUA_LIB_DBG)
Could NOT find TOLUAPP (missing:  TOLUAPP_LIB_DBG)
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Could NOT find Boost
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
Could NOT find FREETYPE (missing:  FREETYPE_LIB_DBG)
Some or all of the gtk libraries were not found. (missing:  GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)


After i go to where i build ALL_BUILD and open up the ALL_BUILD.vcxproj and build the project and then i got this:

Code: Select all

========== Build: 2 succeeded, 22 failed, 0 up-to-date, 2 skipped ==========


And this is my errors and warnings:

Code: Select all

Error   4   error C2063: 'CEGUI::System::d_defaultImageCodecName' : not a function   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\System.cpp   106
Error   2   error C2063: 'CEGUI::System::d_defaultXMLParserName' : not a function   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\System.cpp   104
Error   134   error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\cegui\src\RendererModules\Direct3D10\LINK
Error   140   error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\cegui\src\RendererModules\Direct3D9\LINK
Error   164   error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\cegui\src\WindowRendererSets\Core\LINK
Error   109   error LNK1104: cannot open file '..\..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\cegui\src\CommonDialogs\LINK
Error   35   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\Demo6\LINK
Error   136   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\DragDropDemo\LINK
Error   141   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\EffectsDemo\LINK
Error   146   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\GameMenu\LINK
Error   149   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\HUDDemo\LINK
Error   150   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\HelloWorld\LINK
Error   152   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\FontDemo\LINK
Error   156   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\Minesweeper\LINK
Error   157   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\ScrollablePaneDemo\LINK
Error   158   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\InventoryDemo\LINK
Error   159   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\TabControlDemo\LINK
Error   160   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\TreeDemo\LINK
Error   163   error LNK1104: cannot open file '..\..\lib\CEGUIBase-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\WidgetDemo\LINK
Error   135   error LNK1104: cannot open file '..\..\lib\CEGUICommonDialogs-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples\CommonDialogsDemo\LINK
Error   216   error LNK1104: cannot open file '..\lib\CEGUIDirect3D9Renderer-0_d.lib'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\build\samples_framework\LINK
Warning   1   warning C4003: not enough actual parameters for macro 'S_'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\System.cpp   104
Warning   3   warning C4003: not enough actual parameters for macro 'S_'   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\System.cpp   106
Warning   29   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   609
Warning   59   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   609
Warning   83   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   609
Warning   108   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   609
Warning   133   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   609
Warning   191   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   609
Warning   215   warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   609
Warning   28   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   608
Warning   58   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   608
Warning   82   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   608
Warning   107   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   608
Warning   132   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h   608
Warning   190   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   608
Warning   214   warning C4005: 'D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS' : macro redefinition   C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\d3d10.h   608
Warning   18   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   48   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   72   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   97   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   122   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   180   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   204   warning C4005: 'DXGI_ERROR_DEVICE_HUNG' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   26
Warning   17   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   47   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   71   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   96   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   121   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   179   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   203   warning C4005: 'DXGI_ERROR_DEVICE_REMOVED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   25
Warning   19   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   49   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   73   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   98   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   123   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   181   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   205   warning C4005: 'DXGI_ERROR_DEVICE_RESET' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   27
Warning   23   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   53   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   77   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   102   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   127   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   185   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   209   warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   31
Warning   21   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   51   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   75   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   100   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   125   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   183   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   207   warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   29
Warning   22   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   52   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   76   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   101   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   126   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   184   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   208   warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   30
Warning   13   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   43   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   67   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   92   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   117   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   175   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   199   warning C4005: 'DXGI_ERROR_INVALID_CALL' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   21
Warning   15   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   45   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   69   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   94   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   119   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   177   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   201   warning C4005: 'DXGI_ERROR_MORE_DATA' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   23
Warning   24   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   54   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   78   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   103   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   128   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   186   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   210   warning C4005: 'DXGI_ERROR_NONEXCLUSIVE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   32
Warning   25   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   55   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   79   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   104   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   129   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   187   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   211   warning C4005: 'DXGI_ERROR_NOT_CURRENTLY_AVAILABLE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   33
Warning   14   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   44   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   68   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   93   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   118   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   176   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   200   warning C4005: 'DXGI_ERROR_NOT_FOUND' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   22
Warning   26   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   56   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   80   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   105   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   130   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   188   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   212   warning C4005: 'DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   34
Warning   27   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   57   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   81   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   106   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   131   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   189   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   213   warning C4005: 'DXGI_ERROR_REMOTE_OUTOFMEMORY' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   35
Warning   16   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   46   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   70   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   95   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   120   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   178   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   202   warning C4005: 'DXGI_ERROR_UNSUPPORTED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   24
Warning   20   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   50   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   74   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   99   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   124   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   182   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   206   warning C4005: 'DXGI_ERROR_WAS_STILL_DRAWING' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   28
Warning   7   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   37   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   61   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   86   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   111   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   169   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   193   warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   13
Warning   10   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   40   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   64   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   89   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   114   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   172   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   196   warning C4005: 'DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   16
Warning   12   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   42   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   66   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   91   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   116   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   174   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   198   warning C4005: 'DXGI_STATUS_MODE_CHANGE_IN_PROGRESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   18
Warning   11   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   41   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   65   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   90   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   115   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   173   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   197   warning C4005: 'DXGI_STATUS_MODE_CHANGED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   17
Warning   9   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   39   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   63   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   88   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   113   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   171   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   195   warning C4005: 'DXGI_STATUS_NO_DESKTOP_ACCESS' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   15
Warning   8   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   38   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   62   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   87   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   112   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   170   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   194   warning C4005: 'DXGI_STATUS_NO_REDIRECTION' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   14
Warning   6   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   36   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   60   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   85   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   110   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   168   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   192   warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition   c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h   12
Warning   33   warning C4267: '=' : conversion from 'size_t' to 'UINT', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\GeometryBuffer.cpp   288
Warning   34   warning C4267: '=' : conversion from 'size_t' to 'UINT', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\GeometryBuffer.cpp   296
Warning   84   warning C4267: '=' : conversion from 'size_t' to 'UINT', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\Texture.cpp   248
Warning   148   warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\HUDDemo\HUDemo.cpp   321
Warning   153   warning C4267: 'argument' : conversion from 'size_t' to 'CEGUI::PropertyHelper<CEGUI::uint>::pass_type', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\Minesweeper\Sample_Minesweeper.cpp   299
Warning   154   warning C4267: 'argument' : conversion from 'size_t' to 'CEGUI::PropertyHelper<CEGUI::uint>::pass_type', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\Minesweeper\Sample_Minesweeper.cpp   318
Warning   155   warning C4267: 'argument' : conversion from 'size_t' to 'CEGUI::PropertyHelper<CEGUI::uint>::pass_type', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\Minesweeper\Sample_Minesweeper.cpp   467
Warning   142   warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data   C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm   4141
Warning   143   warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\GameMenu\GameMenu.cpp   681
Warning   144   warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\GameMenu\GameMenu.cpp   707
Warning   145   warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\GameMenu\GameMenu.cpp   734
Warning   30   warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\GeometryBuffer.cpp   102
Warning   139   warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D9\Texture.cpp   555
Warning   5   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\widgets\SequentialLayoutContainer.cpp   164
Warning   161   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\WidgetDemo\WidgetDemo.cpp   288
Warning   162   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\WidgetDemo\WidgetDemo.cpp   561
Warning   165   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples_framework\src\SamplesFramework.cpp   637
Warning   166   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples_framework\src\SamplesFramework.cpp   654
Warning   167   warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples_framework\src\SamplesBrowserManager.cpp   100
Warning   147   warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\HUDDemo\HUDemo.cpp   309
Warning   151   warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\samples\FontDemo\Sample_FontDemo.cpp   562
Warning   31   warning C4267: 'return' : conversion from 'size_t' to 'CEGUI::uint', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\GeometryBuffer.cpp   210
Warning   32   warning C4267: 'return' : conversion from 'size_t' to 'CEGUI::uint', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D10\GeometryBuffer.cpp   216
Warning   137   warning C4267: 'return' : conversion from 'size_t' to 'CEGUI::uint', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D9\GeometryBuffer.cpp   188
Warning   138   warning C4267: 'return' : conversion from 'size_t' to 'CEGUI::uint', possible loss of data   C:\Users\AgresivD\Desktop\cegui\cegui-0.8.4\cegui\src\RendererModules\Direct3D9\GeometryBuffer.cpp   194


I dont know why i got this errors, how can i fix this?

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: CMake and visual studio errors

Postby lucebac » Sat Aug 01, 2015 08:59

Does your CMake log contain more text? Please provide the full one, otherwise there may be missing some important information.

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

Re: CMake and visual studio errors

Postby Ident » Sat Aug 01, 2015 10:42

Your CMake contains no errors. No mention of errors there. Those are warnings.

It looks like you did not follow the video, the documentation, or any of the other information out there and thus didn't copy the dependencies to the CEGUI folder (or referenced them accordingly or added them to env variables etc etc). None of your imagecodecs and parsers seems to be found according to Cmake log. The easiest solution is to follow the video and see how the dependencies are built and then move the built dependency folder over. Not having them probably lead to the build errors in your solution. You will need to reconfigure and regenerate cmake when you are done with that. Check that the default imagecodec and parser are selected and that their build flags are ON.

We probably should raise an error in such a case, i thought this was already the case already.
CrazyEddie: "I don't like GUIs"

AgresivD
Just popping in
Just popping in
Posts: 3
Joined: Sat Aug 01, 2015 06:49

Re: CMake and visual studio errors

Postby AgresivD » Sat Aug 01, 2015 14:54

Ident wrote:Your CMake contains no errors. No mention of errors there. Those are warnings.

It looks like you did not follow the video, the documentation, or any of the other information out there and thus didn't copy the dependencies to the CEGUI folder (or referenced them accordingly or added them to env variables etc etc). None of your imagecodecs and parsers seems to be found according to Cmake log. The easiest solution is to follow the video and see how the dependencies are built and then move the built dependency folder over. Not having them probably lead to the build errors in your solution. You will need to reconfigure and regenerate cmake when you are done with that. Check that the default imagecodec and parser are selected and that their build flags are ON.

We probably should raise an error in such a case, i thought this was already the case already.


OK its work, now my problem is when i add the cegui to my project is crashed i dont know why?
In my code i do hook for DirectX 11 and now i want create GUI in my game, first of all its not a hack, and i can send you my code in private message if you want help me Embed cegui in my project, just say its special project and CEGUI It may well be perfect for it.

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

Re: CMake and visual studio errors

Postby Ident » Sat Aug 01, 2015 16:28

First off, regarding integrating this into your project: We can't and won't do YOUR work for you for free, sorry. We are here to fix bugs in the library not in your project.

Regarding your "crash", how do you think we can help you based purely on the hint that you have, what you refer to as, a "crash"? Follow viewtopic.php?f=10&t=3351 when you make topics please, we are not able to help otherwise, nor is anyone else. If it is a CEGUI issue or issue of integration we can help, but not without all the curcial information or without following all of those basic guidelines written there. We do not work with glass orbs and are no psychics.
CrazyEddie: "I don't like GUIs"

AgresivD
Just popping in
Just popping in
Posts: 3
Joined: Sat Aug 01, 2015 06:49

Re: CMake and visual studio errors

Postby AgresivD » Sat Aug 01, 2015 17:17

Ident wrote:First off, regarding integrating this into your project: We can't and won't do YOUR work for you for free, sorry. We are here to fix bugs in the library not in your project.

Regarding your "crash", how do you think we can help you based on ly the info that you have a crash? Follow viewtopic.php?f=10&t=3351 . If it is a CEGUi issue or issue of integration we can help, but not without info or without following all of those basic guidelines written there.


Im just want help with CEGUI, when i put CEGUI function no metter what function is crash my game,
I talk about CEGUI only not my project, so CEGUI is yours and i need help with that and maybe somthing worng with my DirectX Device i dont know..
OK i dont care im post here my code:

Code: Select all

// dllmain.cpp : Defines the entry point for the DLL application.
#define BEA_ENGINE_STATIC
#include "stdafx.h"
#include <d3d11.h>
#include <BeaEngine.h>
#include <FW1FontWrapper.h>
#include "CEGUI\CEGUI.h"
#include "CEGUI\RendererModules\Direct3D11\Renderer.h"

typedef HRESULT(__stdcall *D3D11PresentHook) (IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags);
typedef void(__stdcall *D3D11DrawIndexedHook) (ID3D11DeviceContext* pContext, UINT IndexCount, UINT StartIndexLocation, INT BaseVertexLocation);
typedef void(__stdcall *D3D11ClearRenderTargetViewHook) (ID3D11DeviceContext* pContext, ID3D11RenderTargetView *pRenderTargetView, const FLOAT ColorRGBA[4]);

ID3D11Device *pDevice = NULL;
ID3D11DeviceContext *pContext = NULL;

DWORD_PTR* pSwapChainVtable = NULL, *pDeviceContextVTable = NULL;
D3D11PresentHook phookD3D11Present = NULL;
D3D11DrawIndexedHook phookD3D11DrawIndexed = NULL;
D3D11ClearRenderTargetViewHook phookD3D11ClearRenderTargetView = NULL;

IFW1Factory *pFW1Factory = NULL;
IFW1FontWrapper *pFontWrapper = NULL;

bool firstTime = true;
void* detourBuffer[3];

struct HookContext {
   BYTE original_code[64];
   SIZE_T dst_ptr;
   BYTE far_jmp[6];
};
HookContext* presenthook64;

HRESULT __stdcall hookD3D11Present(IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags) {
   if (firstTime)
   {
      pSwapChain->GetDevice(__uuidof(pDevice), (void**)&pDevice);
      pDevice->GetImmediateContext(&pContext);
      FW1CreateFactory(FW1_VERSION, &pFW1Factory);
      pFW1Factory->CreateFontWrapper(pDevice, L"Tahoma", &pFontWrapper);
      pFW1Factory->Release();
      firstTime = false;
   }
   CEGUI::Direct3D11Renderer&myRender = CEGUI::Direct3D11Renderer::bootstrapSystem(pDevice, pContext);
   pFontWrapper->DrawString(pContext, L"D3D11 Hook by evolution536", 13.0f, 16.0f, 16.0f, 0xffff1612, FW1_RESTORESTATE);
   return phookD3D11Present(pSwapChain, SyncInterval, Flags);
}

void __stdcall hookD3D11DrawIndexed(ID3D11DeviceContext* pContext, UINT IndexCount, UINT StartIndexLocation, INT BaseVertexLocation) {
   return phookD3D11DrawIndexed(pContext, IndexCount, StartIndexLocation, BaseVertexLocation);
}

void __stdcall hookD3D11ClearRenderTargetView(ID3D11DeviceContext* pContext, ID3D11RenderTargetView *pRenderTargetView, const FLOAT ColorRGBA[4]) {
   return phookD3D11ClearRenderTargetView(pContext, pRenderTargetView, ColorRGBA);
}

const void* DetourFuncVTable(SIZE_T* src, const BYTE* dest, const DWORD index) {
   DWORD dwVirtualProtectBackup;
   SIZE_T* const indexPtr = &src[index];
   const void* origFunc = (void*)*indexPtr;
   VirtualProtect(indexPtr, sizeof(SIZE_T), PAGE_EXECUTE_READWRITE, &dwVirtualProtectBackup);
   *indexPtr = (SIZE_T)dest;
   VirtualProtect(indexPtr, sizeof(SIZE_T), dwVirtualProtectBackup, &dwVirtualProtectBackup);
   return origFunc;
}

const unsigned int DisasmLengthCheck(const SIZE_T address, const unsigned int jumplength) {
   DISASM disasm;
   memset(&disasm, 0, sizeof(DISASM));
   disasm.EIP = (UIntPtr)address;
   disasm.Archi = 0x40;
   unsigned int processed = 0;
   while (processed < jumplength) {
      const int len = Disasm(&disasm);
      if (len == UNKNOWN_OPCODE) { ++disasm.EIP; }
      else { processed += len; disasm.EIP += len; }
   }
   return processed;
}

const void* DetourFunc64(BYTE* const src, const BYTE* dest, const unsigned int jumplength) {
   // Allocate a memory page that is going to contain executable code.
   MEMORY_BASIC_INFORMATION mbi;
   for (SIZE_T addr = (SIZE_T)src; addr > (SIZE_T)src - 0x80000000; addr = (SIZE_T)mbi.BaseAddress - 1) {
      if (!VirtualQuery((LPCVOID)addr, &mbi, sizeof(mbi))) { break; }
      if (mbi.State == MEM_FREE) if (presenthook64 = (HookContext*)VirtualAlloc(mbi.BaseAddress, 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE)) { break; }
   }
   // If allocating a memory page failed, the function failed.
   if (!presenthook64) { return NULL; }
   // Select a pointer slot for the memory page to be freed on unload.
   for (int i = 0; i < sizeof(detourBuffer) / sizeof(void*); ++i) if (!detourBuffer[i]) { detourBuffer[i] = presenthook64; break; }
   // Save original code and apply detour. The detour code is:
   BYTE detour[] = { 0x50, 0x48, 0xB8, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x48, 0x87, 0x04, 0x24, 0xC3 };
   const unsigned int length = DisasmLengthCheck((SIZE_T)src, jumplength);
   memcpy(presenthook64->original_code, src, length);
   memcpy(&presenthook64->original_code[length], detour, sizeof(detour));
   *(SIZE_T*)&presenthook64->original_code[length + 3] = (SIZE_T)src + length;
   // Build a far jump to the destination function.
   *(WORD*)&presenthook64->far_jmp = 0x25FF;
   *(DWORD*)(presenthook64->far_jmp + 2) = (DWORD)((SIZE_T)presenthook64 - (SIZE_T)src + FIELD_OFFSET(HookContext, dst_ptr) - 6);
   presenthook64->dst_ptr = (SIZE_T)dest;
   // Write the hook to the original function.
   DWORD flOld = 0;
   VirtualProtect(src, 6, PAGE_EXECUTE_READWRITE, &flOld);
   memcpy(src, presenthook64->far_jmp, sizeof(presenthook64->far_jmp));
   VirtualProtect(src, 6, flOld, &flOld);
   // Return a pointer to the original code.
   return presenthook64->original_code;
}

DWORD __stdcall InitializeHook(LPVOID) {
   HWND hWnd = GetForegroundWindow();
   IDXGISwapChain* pSwapChain;

   D3D_FEATURE_LEVEL featureLevel = D3D_FEATURE_LEVEL_11_0;
   DXGI_SWAP_CHAIN_DESC swapChainDesc;
   ZeroMemory(&swapChainDesc, sizeof(swapChainDesc));
   swapChainDesc.BufferCount = 1;
   swapChainDesc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
   swapChainDesc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
   swapChainDesc.OutputWindow = hWnd;
   swapChainDesc.SampleDesc.Count = 1;
   swapChainDesc.Windowed = TRUE;//((GetWindowLong(hWnd, GWL_STYLE) & WS_POPUP) != 0) ? FALSE : TRUE;
   swapChainDesc.BufferDesc.ScanlineOrdering = DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED;
   swapChainDesc.BufferDesc.Scaling = DXGI_MODE_SCALING_UNSPECIFIED;
   swapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;

   D3D11CreateDeviceAndSwapChain(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, NULL, &featureLevel, 1, D3D11_SDK_VERSION, &swapChainDesc, &pSwapChain, &pDevice, NULL, &pContext);
   pSwapChainVtable = (DWORD_PTR*)pSwapChain;
   pSwapChainVtable = (DWORD_PTR*)pSwapChainVtable[0];
   pDeviceContextVTable = (DWORD_PTR*)pContext;
   pDeviceContextVTable = (DWORD_PTR*)pDeviceContextVTable[0];

   phookD3D11Present = (D3D11PresentHook)DetourFunc64((BYTE*)pSwapChainVtable[8], (BYTE*)hookD3D11Present, 16);
   phookD3D11DrawIndexed = (D3D11DrawIndexedHook)DetourFunc64((BYTE*)pDeviceContextVTable[12], (BYTE*)hookD3D11DrawIndexed, 16);
   phookD3D11ClearRenderTargetView = (D3D11ClearRenderTargetViewHook)DetourFunc64((BYTE*)pDeviceContextVTable[50], (BYTE*)hookD3D11ClearRenderTargetView, 16);

   pDevice->Release();
   pContext->Release();
   pSwapChain->Release();

   return NULL;
}

BOOL __stdcall DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) {
   if (dwReason == DLL_PROCESS_ATTACH) {
      memset(detourBuffer, 0, sizeof(detourBuffer) * sizeof(void*));
      CreateThread(NULL, 0, InitializeHook, NULL, 0, NULL);
   }
   else if (dwReason == DLL_PROCESS_DETACH) {
      if (pFontWrapper) pFontWrapper->Release();
      for (int i = 0; i < sizeof(detourBuffer) / sizeof(void*); ++i) if (detourBuffer[i]) { VirtualFree(detourBuffer[i], 0, MEM_RELEASE); }
   }

   return TRUE;
}


Im already have device and context for this directx function:

Code: Select all

CEGUI::Direct3D11Renderer&myRender = CEGUI::Direct3D11Renderer::bootstrapSystem(pDevice, pContext);


The soultion didnt give me erros and i linked all librarys and it seems all good but i dont know why the game crashed?
This dll are inject into my game proccess and draw some text on the screen just to know.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 5 guests