DirectX 11 debugger requires Windows SDK 10 but it's selected in IDE and present in system

0

While working with directx11 APIs I frequently getting a warning stated below but I can see Windows SDK 10 is present in the system (C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools) as well as selected that version in VS IDE.

D3D11CreateDevice: Flags (0x2) were specified which require the D3D11 SDK Layers for Windows 10, but they are not present on the system. These flags must be removed, or the Windows 10 SDK must be installed. Flags include: D3D11_CREATE_DEVICE_DEBUG

I have to debug directx11 objects. I need to get rid from that warning. Would anyone please help to fix this issue?

FIX: Graphics Tools installed offline following this post and the warning is gone.

But now it throws exception from D3D11CreateDevice() but the flag D3D11_CREATE_DEVICE_DEBUG is added or not it throws following exception. How to fix this exception?

Exception thrown at 0x27A7DD55 (d3d11_3SDKLayers.dll) in xxx.exe: 0xC0000005: Access violation reading location 0x00000000.

c++
windows
sdk
visual-studio-debugging
directx-11
asked on Stack Overflow Feb 10, 2019 by Tajuddin Khandaker • edited Feb 10, 2019 by Tajuddin Khandaker

1 Answer

0

I have uninstalled then installed the Graphics Tools again. Then followed the your post then it showed debug layer outputs. I can see DXGI error and warnings now. Thank you.

answered on Stack Overflow Feb 14, 2019 by Tajuddin Khandaker

User contributions licensed under CC BY-SA 3.0