Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DX12 - D3D12GetDebugInterface - app requested interface depends on SDK component missing or mismatched

I've been trying to figure out how to run some code I got off the internet to understand how to make a proper directX 12 application and when I run it I get the error message below, pointing to the code displayed in the second image down.

I've ran Windows Update several times over and installed the DirectX End-User Runtime Installer and I still get this message. What do I need to do to solve this problem? I'm stumped. error message code

like image 965
JoseAyeras Avatar asked May 26 '26 15:05

JoseAyeras


1 Answers

The DirectX "Debug Layers" for Windows 10 are installed as an 'optional feature' in your Windows installation. Go to the Settings panel, under System, Apps & features, Manage optional Features, Add a feature, and then look for "Graphics Tools".

The "DirectX End-User Runtime Installer" has not actually changed the version of DirectX installed on any version of Windows since ~2002. It has also never installed the debug runtime. The legacy DirectX SDK only includes an old Windows 7 RTM version of the Debug Layer for DirectX 11.0. On Windows 7 with the KB2670838 installed or Windows 8.x, you need to install the latest Windows SDK to get the debug layers installed.

For more information, see Direct3D SDK Debug Layer Tricks and Not So Direct Setup.

like image 137
Chuck Walbourn Avatar answered May 31 '26 17:05

Chuck Walbourn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!