驱动编译错误
环境: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>
试了无效。求解决方案。谢谢。
编写第一个驱动,就出现下面的错误,
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>
试了无效。求解决方案。谢谢。
...全文
相关推荐
老驱动模块在高版本内核编译下错误解决
老驱动模块在高版本内核编译下的错误解决老驱动模块在高版本内核编译下可能会遇到一些错误,以下是两种常见的错误及其解决方法。
rtl8188驱动编译错误解决资料
这是一个代码,在linux-3.13以上的内核编译时,会出现create_proc_entry函数不对的解决方法
编译Qt5.11.1的mysql驱动并处理driver not loaded错误
QT5.11.1+MSVC2015_64位下重新编译好的64位Qt 5.11.1的mysql驱动,mysql采用的版本是5.7.22。把qsqlmysql.dl放到QT5的plugins\sqldri
Broadcom官方 CentOS7 64位无线网卡驱动,带一键安装脚本,自动编译和安装,解决make过程中的错误
本文介绍如何在CentOS系统上安装和配置Broadcom无线网卡驱动。内容包括下载驱动、应用补丁、修改源代码、编译安装、移除旧模块、自动加载新驱动以及创建黑名单文件等步骤。同时提供了一个简单的脚本执
炜煌编译器驱动
在实际应用中,这可能会涉及到对源代码的编译优化、错误检测、以及与硬件的交互,以确保软件开发流程的顺利进行。


硬件/系统
