Reputation: 1203
I'm trying to navigate and compile the poorly documented DirectX SDK samples in Windows 10 and Visual Studio 2015.
I got the samples to build using Windows 10 SDK in Release mode, but in Debug I'm getting the error Failed Creating the Direct3D Device
Searching online, this error appears to be linked with a missing installation of D3D11_1SDKLayers.dll, which, by my understanding is linked to the Graph Tools of Visual Studio
I tried installing the Graph Tools using Windows 10->Start Menu->Settings->System->Apps&Features->Manage Optional Features->Add a Feature, but all I see are supplemental fonts, I don't see Graph Tools in the list
Can someone help explain what I'm actually missing in order to build the projects in Debug
Thanks,
Upvotes: 2
Views: 844
Reputation: 41057
In Windows 10, the Direct3D Debug Device is indeed a Windows Optional Feature. The main reason you wouldn't see "Graphics Tools" in the list of available features is because you are running the Enterprise Edition and your local IT admin hasn't approved the installation of that Feature-on-demand. See this blog post.
The DirectX SDK itself is deprecated and has been for 6+ years. See MSDN and this blog post.
I maintain some of the samples from the legacy DirectX SDK updated for newer Windows 10 SDKs / VS 2015 on GitHub, but the official DirectX 12 samples are on DirectX-Graphics-Samples. You can also find both DirectX 11 & DirectX 12 samples on Xbox-Graphics-Samples.
If you are new to DirectX and are looking for C++ tutorials, I'd recommend starting with the DirectX Tool Kit.
Upvotes: 2