I have become quite practiced at compiling OGRE by now, even though I have not gotten to work just yet, writing any games or 3D applications with it. Thus, I have compiled various versions of OGRE on various platforms.
Right now I am interested in compiling OGRE 1.10 using Visual Studio 2015, on a Windows 7 machine, and have been running in to problems with the DX11 Rendering System. I have gotten most of v1.10 to compile on this very platform though.
I realize that Micro**** has been making changes to their SDK. For one thing, there is no longer a specific DirectX SDK, that having been included into their new Windows SDK. But, having seen that the latest OGRE 1.10 only asks the user to specify the path of the header file, not specific libraries anymore, within the CMake GUI, gave me hope that OGRE may be up-to-date to use the new Windows SDK.
Yet, because it seemed the right thing to do at the time, I decided to install the legacy DirectX SDK from June, 2010, since that should have reduced the level of error messages I was getting.
DX9 compiles fine now.
But when trying to compile the DirectX11 Rendering System, I am still getting the following compile errors:
Code: Select all
1>C:\Users\Dirk\Documents\Visual Studio 2015\Projects\ogre\RenderSystems\Direct3D11\src\OgreD3D11Driver.cpp(68): error C2065: 'DXGI_ADAPTER_FLAG_SOFTWARE': undeclared identifier
1>C:\Users\Dirk\Documents\Visual Studio 2015\Projects\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderWindow.cpp(954): error C2065: 'DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL': undeclared identifier
1>C:\Users\Dirk\Documents\Visual Studio 2015\Projects\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(260): error C2065: 'D3D_FEATURE_LEVEL_11_1': undeclared identifier
1>C:\Users\Dirk\Documents\Visual Studio 2015\Projects\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(575): error C2065: 'D3D_FEATURE_LEVEL_11_1': undeclared identifier
1>C:\Users\Dirk\Documents\Visual Studio 2015\Projects\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(3863): error C2065: 'D3D_FEATURE_LEVEL_11_1': undeclared identifier
Dirk