When I used Visual Studio 2012 and WinDDK 8.0 to compile sample code "Kernel mode display-only miniport driver (KMDOD) sample" from package "Windows Driver Kit (WDK) 8.0 Samples" downloaded from msdn wdk 8.0 sample, I got the following errors:
Error 1 error -1: "Inf2Cat, unknown failure." Double click to see the tool output.
The output file is "inf2catOutput.log", and the content is:
Inf2Cat Tool Output:
.....................
Signability test complete.
Errors:
NoneWarnings:
NoneUnable to save the catalog.
Signability test failed.
The content of the output pane is:
1>------ Build started: Project: SampleDisplay, Configuration: Win8 Debug Win32 ------
1> Stamping Win8Debug\sampledisplay.inf [Version] section with DriverVer=08/20/2013,16.42.4.37
1> BDD.cxx
1> BDD_DDI.cxx
1> BDD_DMM.cxx
1> BDD_Util.cxx
1> BltFuncs.cxx
1> BltHw.cxx
1> memory.cxx
1> Generating Code...
1> SampleDisplay.vcxproj -> S:_src\Kernel mode display-only miniport driver (KMDOD) sample\Solution\Sample\Win8Debug\SampleDisplay.sys
1> Done Adding Additional Store
1> Successfully signed: S:_src\Kernel mode display-only miniport driver (KMDOD) sample\Solution\Sample\Win8Debug\SampleDisplay.sys
1>
2>------ Build started: Project: package (Package\package), Configuration: Win8 Debug Win32 ------
2> .....................
2> Signability test complete.
2>
2> Errors:
2> None
2>
2> Warnings:
2> None
2>
2> Unable to save the catalog.
2> Signability test failed.
2>Win8Debug\inf2catOutput.log : Inf2Cat error -1: "Inf2Cat, unknown failure." Double click to see the tool output.
I haven't changed any of the settings or code in the sample, I just opened the solution then tried to build the code. any configurations or platforms will result in the same error.
Any suggestion is appreciated. Thanks!