I tried DDKBUILD.cmd to build the TimeSensor sample driver (a UMDF driver) with WinDDK 7100.0.0 in Visual Studio 2008. The command line is as follows:
ddkbuild -WLH chk . -cegZ /a -WDF
It didn’t try to compile the src files. Below is the output:
Performing Makefile project actions
OSR DDKBUILD.CMD V7.3/r27 (2008-09-06) - OSR, Open Systems Resources, Inc.
Launching OACR monitor
OACR NOTE : Not starting monitor (oacr running in job that doesn’t allow break-away)
DDKBLD: WLH (checked) using the Windows Vista/Windows 2008 Server DDK and %WLHBASE%
DDKBLD: Directory: e:\Code\pd\trunk\test\dll\TIMESE~1 + argument(s): -cegZ /a -WDF
DDKBLD: WLHBASE: C:\WinDDK\71000~1.0
DDKBLD: Run build -MI -cfeZ -cegZ for checked version in .
path contains nonexistant c:\program files\microsoft visual studio 9.0\common7\tools\bin, removing
path contains nonexistant c:\windows\syswow64, removing
BUILD: Compile and Link for x86
BUILD: Start time: Tue Jun 30 14:35:58 2009
BUILD: Examining e:\code\pd\trunk\test\dll\timese~1 directory for files to compile.
e:\code\pd\trunk\test\dll\timese~1
Invalidating OACR warning log for ‘root:x86chk’
BUILD: Building generated files in e:\code\pd\trunk\test\dll\timese~1 directory
Configuring OACR for ‘root:x86chk’ -
OACR NOTE : Not starting monitor (oacr.dll running in job that doesn’t allow break-away)
BUILD: Compiling e:\code\pd\trunk\test\dll\timese~1 directory
BUILDMSG: Warning : The sample e:\code\pd\trunk\test\dll\timese~1 is not valid for the current OS target.
BUILD: Linking for e:\code\pd\trunk\test\dll\timese~1 directory
BUILD: Finish time: Tue Jun 30 14:35:58 2009
BUILD: Done
0 files compiled - 2 Warnings
DDKBLD: Build complete
DDKBLD: Building browse information files
Can someone tell me where the problem is? DDKBuild.cmd works fine with Win7 DDK for WDM driver builds, but doesn’t work for the UMDF driver.
Thanks a lot.
Henry