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.

相关推荐
悠仁さん5 小时前
【C++】哈希表
c++·算法·散列表
Severus_black7 小时前
【C++初阶】list使用及相关实现,思路顺滑流畅!
c语言·数据结构·c++·stl·list
敲上瘾9 小时前
Qt Widgets入门:项目模板解析与Hello World
开发语言·数据库·c++·qt·ui·qt6.3
LabVIEW开发10 小时前
AI 如何接进 LabVIEW:链路怎么搭、边界在哪、还差什么
人工智能·驱动开发·labview
旖旎夜光10 小时前
【C++ 基础入门】C++ 多态(中):虚函数表、多态原理与动静绑定
开发语言·c++·笔记·学习
旖旎夜光11 小时前
【C++ 基础入门】C++多态(下):单/多继承虚表、多态补充与 21 道高频题
开发语言·c++·笔记·学习
apcipot_rain1 天前
C++转Java日记(03)
java·开发语言·c++
布莱克6051 天前
C++ 中 map 的 insert 与 emplace:key 已存在时会覆盖吗?
开发语言·数据结构·c++·算法·map
xys_6781 天前
深挖C++:类和对象(中)
开发语言·c++
D e re k ZH1 天前
C++ 系统学习手记:从语法细节到工程实践
开发语言·数据结构·c++·算法