Does DDKBUILD work for UMDF/Win7 DDK?

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

xxxxx@gmail.com wrote:

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:

Did you look through the sample source files at all? The “makefile” in
that directory specifically says that it will only build for Windows 7,
but your command line above fires up the Vista build environment.

You will need a newer version of ddkbuild to get support for the Win7
build environment.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.