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.

相关推荐
肆忆_17 小时前
# 用 5 个问题学懂 C++ 虚函数(入门级)
c++
不想写代码的星星21 小时前
虚函数表:C++ 多态背后的那个男人
c++
端平入洛3 天前
delete又未完全delete
c++
端平入洛4 天前
auto有时不auto
c++
哇哈哈20215 天前
信号量和信号
linux·c++
多恩Stone5 天前
【C++入门扫盲1】C++ 与 Python:类型、编译器/解释器与 CPU 的关系
开发语言·c++·人工智能·python·算法·3d·aigc
蜡笔小马5 天前
21.Boost.Geometry disjoint、distance、envelope、equals、expand和for_each算法接口详解
c++·算法·boost
超级大福宝5 天前
N皇后问题:经典回溯算法的一些分析
数据结构·c++·算法·leetcode
weiabc5 天前
printf(“%lf“, ys) 和 cout << ys 输出的浮点数格式存在细微差异
数据结构·c++·算法
问好眼5 天前
《算法竞赛进阶指南》0x01 位运算-3.64位整数乘法
c++·算法·位运算·信息学奥赛