環境: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>
試了無效。求解決方案。謝謝。
uj5u.com熱心網友回復:
VS2017+WDK10驅動編譯與除錯uj5u.com熱心網友回復:
鏈接不對,跳轉不過去呀。轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/120346.html
標籤:硬件/系統
上一篇:sql server連接報出錯誤
