Building TeapotWars in VS2015, Win 10 and DX9

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Building TeapotWars in VS2015, Win 10 and DX9

      Hello, I have followed the instructions in the GitHub repo and changed
      renderer="Direct3D 11" to renderer="Direct3D 9" in Game\PlayerOptions.xml.(That file seems to be outside the project...)

      I'm getting the errors below when rebuilding, what could be the problem?

      Error (active) identifier "D3D11_INPUT_ELEMENT_DESC" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 506
      Error (active) cannot open source file "../3rdParty/FastDelegate/FastDelegate.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\EventManager\EventManager.h 43
      Error (active) name followed by '::' must be a class or namespace name TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\EventManager\EventManager.h 54
      Error (active) expected a ';' TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\EventManager\EventManager.h 54
      Error (active) identifier "D3D11_INPUT_ELEMENT_DESC" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 474
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 476
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 476
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 477
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 477
      Error (active) identifier "DXGI_FORMAT_R32G32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 478
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 478
      Error (active) identifier "D3D11_INPUT_ELEMENT_DESC" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 491
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 493
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 493
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 494
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 494
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 495
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 495
      Error (active) identifier "DXGI_FORMAT_R32G32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 496
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 496
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 508
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 508
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 509
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 509
      Error (active) identifier "D3D11_INPUT_ELEMENT_DESC" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 513
      Error (active) identifier "DXGI_FORMAT_R32G32B32_FLOAT" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 515
      Error (active) identifier "D3D11_INPUT_PER_VERTEX_DATA" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Geometry.h 515
      Error (active) identifier "ID3D11ShaderResourceView" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Material.h 103
      Error (active) identifier "ID3D11SamplerState" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Material.h 104
      Error (active) identifier "ID3D11ShaderResourceView" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Material.h 107
      Error (active) identifier "ID3D11SamplerState" is undefined TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Graphics3D\Material.h 108
      Error (active) cannot open source file "dxut.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 114
      Error (active) cannot open source file "dxut.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 116
      Error (active) cannot open source file "SDKmisc.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 117
      Error (active) cannot open source file "tinyxml.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 119
      Error (active) cannot open source file "../3rdParty/FastDelegate/FastDelegate.h" TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 122
      Error (active) name followed by '::' must be a class or namespace name TeapotWars_2015 c:\Users\Erik\Documents\GitHub\gamecode4\Source\GCC4\Msvc\GameCodeStd.h 123
      Error C1083 Cannot open include file: 'dxut.h': No such file or directory GameCode4_2015 c:\users\erik\documents\github\gamecode4\source\gcc4\msvc\gamecodestd.h 114
      Error C1083 Cannot open include file: 'dxut.h': No such file or directory TeapotWars_2015 c:\users\erik\documents\github\gamecode4\source\gcc4\msvc\gamecodestd.h 114
      Error C1083 Cannot open include file: 'dxut.h': No such file or directory GCC4EditorDLL_2015 c:\users\erik\documents\github\gamecode4\source\gcc4\msvc\gamecodestd.h 114