KMDF驱动编写遇到的第一个编译问题

Windows驱动开发,刚开始学习,Fuck,VS2022 IDE默认生成的项目,居然报错,于是乎Google答案解决办法:

生成开始于 1:04...

1>------ 已启动生成: 项目: HelloMe, 配置: Debug x64 ------

1>Building 'HelloMe' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.

1>Stamping x64\Debug\HelloMe.inf

1>Stamping [Version] section with DriverVer=09/26/2025,1.4.46.908

1>HelloMe.vcxproj -> D:\Study\HelloMe\x64\Debug\HelloMe.sys

1>Driver is 'Universal'.

1>.........................

1>Signability test failed.

1>

1>Errors:

1>22.9.7: DriverVer set to a date in the future (postdated DriverVer not allowed) in HelloMe\hellome.inf.

1>

1>Warnings:

1>None

1>x64\Debug\inf2catOutput.log : Inf2Cat error -2: "Inf2Cat, signability test failed." Double click to see the tool output.

1>已完成生成项目"HelloMe.vcxproj"的操作 - 失败。

========== 生成: 0 成功,1 失败,0 最新,0 已跳过 ==========

解决办法:项目属性设置:Configuration Properties->Inf2Cat->General->Use Local Time.

相关推荐
史迪仔01121 小时前
[QML] QML IMage图像处理
开发语言·前端·javascript·c++·qt
会编程的土豆2 小时前
【数据结构与算法】再次全面了解LCS底层
开发语言·数据结构·c++·算法
低频电磁之道2 小时前
解决 Windows C++ DLL 导出类不可见的编译错误
c++·windows
君义_noip4 小时前
信息学奥赛一本通 4150:【GESP2509七级】⾦币收集 | 洛谷 P14078 [GESP202509 七级] 金币收集
c++·算法·gesp·信息学奥赛·csp-s
Ricky_Theseus4 小时前
静态链接与动态链接
c++
澈2075 小时前
双指针,数组去重
c++·算法
s09071365 小时前
ZYNQ7000 AXI DMA 接收中断(S2MM_introut)全解析:从硬件原理到Linux驱动开发
linux·驱动开发·dma·zynq
小辉同志5 小时前
207. 课程表
c++·算法·力扣·图论
路溪非溪5 小时前
如何使用sysfs来排查驱动问题
linux·arm开发·驱动开发
feng_you_ying_li5 小时前
C++11,{}的初始化情况与左右值及其引用
开发语言·数据结构·c++