驱动编译错误

psbeond psbeond 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
环境:vs2017, win10 1909, WDK 1709,
编写第一个驱动,就出现下面的错误,
1>------ Build started: Project: FirstDriver, Configuration: Debug x64 ------
1>Building 'FirstDriver' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
1>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB6004: The specified task executable location "bin\x86\stampinf.exe" is invalid.
1>Done building project "FirstDriver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

按网上找的,增加
<PropertyGroup>
<WDKBinRoot Condition ="'$(WDKBinRoot)'==''"> $(WindowsSdkDir)bin </WDKBinRoot>
<WDKBinRoot_x86> $(WDKBinRoot)\x86</WDKBinRoot_x86>
<WDKBinRoot_x64> $(WDKBinRoot)\x64</WDKBinRoot_x64>
</PropertyGroup>

试了无效。求解决方案。谢谢。
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
psbeond
硬件/系统 2,644 成员 17,229 内容