An SDK corresponding to WDK version '8.1' was not found. Please install the SDK before building.

安装了VS2015加WDK10,新建了KMDF工程时编译时报了上述错误。是需要下载安装windows10的SDK。


出现这种情况,你可能是缺少了第三步,检查下面的各项安装是否完备:

  1. 安装 Visual Studio 2015
  2. 安装 Visual C++ (Not installed by default)
  3. 安装 Windows SDK for Windows 10 (Not installed by default)(https://dev.windows.com/en-us/downloads/windows-10-sdk)
  4. 安装 WDK 10 (Download separately)(https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx)
  5. Upgrade project from WDK 8.1


        一般来说, Visual Studio 2015 支持 WDK 10. Visual Studio 2013 支持 WDK 8.1.在我的环境下, Visual Studio 2015 可能不支持 WDK 8.1. 当编译在Windows UserModeDriver8.1 用 VS2015, 将出现一个错误: prop is not found.

WDK 10 支持编译驱动在 Windows 10 / 8.1 / 8 (/ 7sp1).

To build Windows 8.1 driver, follow below.

  1. Open project properties
  2. Navigate to Configuration Properties > General
  3. Check: Platform Toolset Windows****ModeDriver10.0
  4. Navigate to Configuration Properties > Driver settings
  5. Check: Target OS Version: Windows 8.1
  6. Check: Target Platform: Desktop (Default: Universal)


  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值