To support the new feature, the update WDK version is required, and the latest is the Win8 WDK RTM version.
Unlike the previous Wdk,win8 WDK RTM, which no longer comes with the build env, it needs to build via vs2012 or vs2010.
Take vs2012 as an example, vs2012 needs to convert source code to *.vcxproj to build.
Method One:
Open VS2012, file-, open, convert sources.../dir ... Select the WDM-driven sources file, vs2012 will automatically help you convert the sources to a vcxproj project that can be compiled.
At this point, select the appropriate platform, Configuration,build/rebuild can be.
Method Two:
With VS2012 command prompt, open the start, program, vs2012, virtual Studio Tools, VS2012 xxxx Tools command PR Ompt
Here "XXXX" usually includes x86, x64, ARM environment, select the need.
Jump to the current directory, in the Command prompt window, convert sources to *.vcxproj project by Nmake2msbuid, and compile with MSBuild.
Distance:
Nmake2msbuild sources
msbuild/p:configuration= "Win7 Debug"
You can build a driver that corresponds to configure for the Win7 chk version.
But the shortcut to command prompt is
%comspec%/k "" C:\Program Files\Microsoft Visual Studio 11.0\vc\vcvarsall.bat "" x86
Currently not in the *.bat successful call, which Master know also please help pointing under.
Thank you.