问题 运行 调试中的 DirectX 示例,"Failed Creating the Direct3D Device"
Problems running DirectX samples in Debug, "Failed Creating the Direct3D Device"
我正在尝试浏览和编译 Windows 10 和 Visual Studio 2015 中记录不完整的 DirectX SDK 示例。
我在发布模式下使用 Windows 10 SDK 获得了要构建的示例,但在调试模式下我收到错误 Failed Creating the Direct3D Device
在线搜索,此错误似乎与 D3D11_1SDKLayers.dll 的缺失安装有关,据我所知,它与 Visual Studio
的图形工具有关
我尝试使用 Windows 10->开始菜单->设置->系统->应用程序和功能->管理可选功能->添加功能来安装图形工具,但我看到的都是补充字体,我在列表中没有看到图形工具
有人可以帮助解释我在 Debug 中构建项目时实际缺少的内容吗
谢谢,
在 Windows 10 中,Direct3D 调试设备确实是一个 Windows 可选功能。您在可用功能列表中看不到 "Graphics Tools" 的主要原因是因为您是 运行 企业版并且您的本地 IT 管理员尚未批准安装该按需功能。参见 this blog post。
The DirectX SDK itself is deprecated and has been for 6+ years. See MSDN and this blog post.
我维护了旧版 DirectX SDK 中的一些样本,并在 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 上针对较新的 Windows 10 个 SDK / VS 2015 进行了更新。
如果您是 DirectX 的新手并且正在寻找 C++ 教程,我建议您从 DirectX Tool Kit.
开始
我正在尝试浏览和编译 Windows 10 和 Visual Studio 2015 中记录不完整的 DirectX SDK 示例。
我在发布模式下使用 Windows 10 SDK 获得了要构建的示例,但在调试模式下我收到错误 Failed Creating the Direct3D Device
在线搜索,此错误似乎与 D3D11_1SDKLayers.dll 的缺失安装有关,据我所知,它与 Visual Studio
的图形工具有关我尝试使用 Windows 10->开始菜单->设置->系统->应用程序和功能->管理可选功能->添加功能来安装图形工具,但我看到的都是补充字体,我在列表中没有看到图形工具
有人可以帮助解释我在 Debug 中构建项目时实际缺少的内容吗
谢谢,
在 Windows 10 中,Direct3D 调试设备确实是一个 Windows 可选功能。您在可用功能列表中看不到 "Graphics Tools" 的主要原因是因为您是 运行 企业版并且您的本地 IT 管理员尚未批准安装该按需功能。参见 this blog post。
The DirectX SDK itself is deprecated and has been for 6+ years. See MSDN and this blog post.
我维护了旧版 DirectX SDK 中的一些样本,并在 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 上针对较新的 Windows 10 个 SDK / VS 2015 进行了更新。
如果您是 DirectX 的新手并且正在寻找 C++ 教程,我建议您从 DirectX Tool Kit.
开始