Hi,
I am working on USB driver with WDM architecture, recently I have targeted for code for Windows10 or higher versions, for which I had followed the Visual Studio, SDK and WDK recommended suggestions from below link:
https://learn.microsoft.com/en-us/windows-hardware/drivers/other-wdk-downloads
My Setup details
Visual Studio 2015 +
SDK Version: Windows SDK for Windows 10.0.14393.795
WDK Version: WDK for Windows 10, version 1607
Initially, I was able to build SDV successfully. Recently, I am ending up with below error.
D:\dev-area\WaUsb>msbuild /t:sdv /p:Inputs="/check:*" "WaUsb.vcxproj" /p:Configuration=Release /p:Platform=x64
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 3/27/2024 9:00:54 PM.
Project "D:\dev-area\WaUsb\WaUsb.vcxproj" on node 1 (sdv target(s)).
sdv:
staticdv.exe /check:*
---------------------------------------------------------------------
Microsoft (R) Windows (R) Static Driver Verifier Version 4.0.1604.1
Copyright (C) Microsoft Corporation. All rights reserved.
---------------------------------------------------------------------
SDV is building for <Release|x64>
Build 'WaUsb' ... Done
Library not processed: cfg_support_v1.lib. The library could not be included in the verification.
SDV will run without these libraries.
To process the library, run a msbuild <driver project file> /p:configuration="<release configuration>" /p:platform=<Win32|x64|arm> /t:Sdv /p:inputs="/lib" command in the library's source folder.
Scan 'WaUsb' ... Done
No reuse data to copy from previous SDV run.
The compile step failed for 'WaUsb' .
C:\Program Files (x86)\Windows Kits\10\build\windowsdriver.Sdv.targets(120,9): error MSB3073: The command "staticdv.exe /check:*" exited with code -1. [D:\dev-area\WaUsb\WaUsb.vcxproj]
Done Building Project "D:\dev-area\WaUsb\WaUsb.vcxproj" (sdv target(s)) -- FAILED.
Build FAILED.
"D:\dev-area\WaUsb\WaUsb.vcxproj" (sdv target) (1) ->
(sdv target) ->
C:\Program Files (x86)\Windows Kits\10\build\windowsdriver.Sdv.targets(120,9): error MSB3073: The command "staticdv.exe /check:*" exited with code -1. [D:\dev-area\WaUsb\WaUsb.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:02:29.05
I have tried uninstalling VS2015+SDK+WDK and reinstalling yet I observed the same error.
Can someone give me some pointers on this?
Regards,
Shravan Mahendra