如何离线安装适用于 Windows 10 的 D3D11 SDK 层 [英] How to install D3D11 SDK Layers for Windows 10 offline

查看:26
本文介绍了如何离线安装适用于 Windows 10 的 D3D11 SDK 层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS2015 中调试 D3D 应用程序时遇到以下错误.

D3D11CreateDevice:已指定标志 (0x2),需要适用于 Windows 10 的 D3D11 SDK 层,但系统上不存在这些标志.必须删除这些标志,或者必须安装 Windows 10 SDK.标志包括:D3D11_CREATE_DEVICE_DEBUG

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

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

非常感谢.

解决方案

对于 Windows 10 的 2015 年 11 月更新(内部版本 10586),您可以找到 Feature On Demand CAB图形工具这里.您可以通过 dism 安装它,如该软件包的文档中所述.

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

I got the following error when I was debugging my D3D application in VS2015.

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 know I need to enable Graphics Tools in Win10 or run Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0 to enable it.

But the machine I am working on are not allowed to connect to the internet. Is there a way to enable that offline?

Thanks a lot.

解决方案

For the November 2015 update (build 10586) of Windows 10, you can find the Feature On Demand CABs for the Graphics Tools package here. You can install it via dism as noted in the documentation with that package.

Keep in mind that there's a lot of stuff in Windows 10 that's a number of 'feature on demand' parts of Windows including .NET 3.5, language packs, etc.

这篇关于如何离线安装适用于 Windows 10 的 D3D11 SDK 层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆