Code: Select all
OGRE EXCEPTION(-2147024809:RenderingAPIException): Failed to create Direct3D11 device in D3D11RenderSystem::D3D11RenderSystem at D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 287)
Code: Select all
OGRE EXCEPTION(-2147024809:RenderingAPIException): Failed to create Direct3D11 device in D3D11RenderSystem::D3D11RenderSystem at D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 287)
Code: Select all
---------------------------
An exception has occured!
---------------------------
OGRE EXCEPTION(-2147024809:RenderingAPIException): Failed to create Direct3D11 device in D3D11RenderSystem::D3D11RenderSystem at G:/SDK/Ogre2-Hlms-Private/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp (line 301)
---------------------------
OK
---------------------------
Code: Select all
5>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(29): warning C4005: 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT': macro redefinition (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5> C:\Program Files (x86)\Windows Kits\8.1\Include\shared\winerror.h(50235): note: see previous definition of 'DXGI_ERROR_FRAME_STATISTICS_DISJOINT' (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(30): warning C4005: 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE': macro redefinition (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5> C:\Program Files (x86)\Windows Kits\8.1\Include\shared\winerror.h(50244): note: see previous definition of 'DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE' (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(31): warning C4005: 'DXGI_ERROR_DRIVER_INTERNAL_ERROR': macro redefinition (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5> C:\Program Files (x86)\Windows Kits\8.1\Include\shared\winerror.h(50254): note: see previous definition of 'DXGI_ERROR_DRIVER_INTERNAL_ERROR' (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
5>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(32): warning C4005: 'DXGI_ERROR_NONEXCLUSIVE': macro redefinition (compiling source file D:\Graphics Code\2-1\RenderSystems\Direct3D11\src\OgreD3D11GpuProgram.cpp)
That's because the source file was slightly modified, or the PDB or DLL didn't match with the version of the source code you're trying. Rebuild and debug again.drwbns wrote:The problem I see with trying to get the debug values is that the debugger never gets to the createDevice call from what I can tell, or at least I can't see the values somehow. Visual Studio complains that the breakpoint will never be reached at the
Wow. This actually worked! Thank you. How did I miss this patch? I've been doing a little reading but I'm still not sure if it was optional or automatic. Thank you either way. The only negative thing is I still can't set a proper breakpoint for the createDevice function. I'll try a Visual Studio repair and post back the results.lhp1997 wrote:If your OS is win7,you need put a "KB2670838" patch.
Try it!