带有驱动程序项目的静态驱动程序验证程序:InterceptedBuild 阶段出现不可恢复的错误
Static Driver Verifier with driver project: Unrecoverable error in InterceptedBuild stage
在我运行以下命令之后:
msbuild /p:Configuration=Win8_Release /p:Platform=x64 /t:sdv /p:inputs="/check /debug"
我在 smvbuild.log 中遇到以下错误:
Task "Link"
C:\Program Files (x86)\Windows Kits\TOOLS\SDV\smv\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.sys" /VERSION:"10.0" /INCREMENTAL:NO /NOLOGO /WX /SECTION:"INIT,d" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\BufferOverflowFastFailK.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\ntoskrnl.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\hal.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\wmilib.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\BufferOverflowFastFailK.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\ntoskrnl.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\hal.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\wmilib.lib" /NODEFAULTLIB /MANIFEST:NO /DEBUG /PDB:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.pdb" /SUBSYSTEM:NATIVE,"10.00" /Driver /OPT:REF /OPT:ICF /ENTRY:"GsDriverEntry" /RELEASE /IMPLIB:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.lib" /MERGE:"_TEXT=.text;_PAGE=PAGE" /MACHINE:X64 /PROFILE /guard:cf /kernel /IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221,4108,4088,4218,4218,4235 /osversion:10.0 /pdbcompress /debugtype:pdata C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjMessage.res
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjConfigMgr.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjController.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjJournalMgr.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjMain.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjUtility.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjVolfilter.obj
Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SmvInterceptorWrapper.Program.Main(String[] args)
我检查了link命令中的文件,它们都存在。
有谁知道如何处理这个 SDV InterceptedBuild 错误?
我也遇到了。按照http://answers.flyppdevportal.com/MVC/Post/Thread/fa1eac9a-7231-41c9-9bbf-9f929dbfe75c?category=wdk的建议,升级到VS2019 v16.6,问题解决。
在我运行以下命令之后:
msbuild /p:Configuration=Win8_Release /p:Platform=x64 /t:sdv /p:inputs="/check /debug"
我在 smvbuild.log 中遇到以下错误:
Task "Link"
C:\Program Files (x86)\Windows Kits\TOOLS\SDV\smv\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.sys" /VERSION:"10.0" /INCREMENTAL:NO /NOLOGO /WX /SECTION:"INIT,d" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\BufferOverflowFastFailK.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\ntoskrnl.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\hal.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\wmilib.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\BufferOverflowFastFailK.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\ntoskrnl.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\hal.lib" "C:\Program Files (x86)\Windows Kits\lib.0.18362.0\km\x64\wmilib.lib" /NODEFAULTLIB /MANIFEST:NO /DEBUG /PDB:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.pdb" /SUBSYSTEM:NATIVE,"10.00" /Driver /OPT:REF /OPT:ICF /ENTRY:"GsDriverEntry" /RELEASE /IMPLIB:"C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\BexWinCj.lib" /MERGE:"_TEXT=.text;_PAGE=PAGE" /MACHINE:X64 /PROFILE /guard:cf /kernel /IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221,4108,4088,4218,4218,4235 /osversion:10.0 /pdbcompress /debugtype:pdata C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjMessage.res
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjConfigMgr.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjController.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjJournalMgr.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjMain.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjUtility.obj
C:\BEXbuild\build\builder\WindowsCJ_win10SDK_v142\src\VOLFLT\x64\Win8_Release\CjVolfilter.obj
Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SmvInterceptorWrapper.Program.Main(String[] args)
我检查了link命令中的文件,它们都存在。 有谁知道如何处理这个 SDV InterceptedBuild 错误?
我也遇到了。按照http://answers.flyppdevportal.com/MVC/Post/Thread/fa1eac9a-7231-41c9-9bbf-9f929dbfe75c?category=wdk的建议,升级到VS2019 v16.6,问题解决。