如何离线安装适用于 Windows 10 的 D3D11 SDK Layers

2023-12-03

当我在 VS2015 中调试 D3D 应用程序时,出现以下错误。

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

我知道我需要在 Win10 中启用图形工具或运行Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0来启用它。

但我正在使用的机器不允许连接到互联网。有没有办法离线启用?

多谢。


对于 Windows 10 的 2015 年 11 月更新(内部版本 10586),您可以找到功能点播CAB 的图形工具包裹here。您可以通过安装它dism如该包的文档中所述。

请记住,Windows 10 中有很多东西是 Windows 的许多“按需功能”部分,包括 .NET 3.5、语言包等。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何离线安装适用于 Windows 10 的 D3D11 SDK Layers 的相关文章

随机推荐