正在执行生成文件项目操作
OSR DDKBUILD.CMD V7.2 (2008-04-14) - OSR, Open Systems Resources, Inc.
DDKBLD: >> Setting custom environment variables [ddkbldenv.cmd] ...
DDKBLD: << Finished setting custom environment variables [ddkbldenv.cmd] ...
DDKBLD: ERROR #3: To build using type WLH you need to set the %WLHBASE% environment variable to point to the Windows Vista/Windows 2008 Server DDK base directory!
USAGE:
======
ddkbuild [flags] [-WDF] [-PREFAST]
Values for :
-------------------------------------------------------------
Target platform and DDK | Miscellaneous
---------------------------|---------------------------------
Platform | DDK | CPU | Base directory | Platform alias
------------|-------|------|----------------|----------------
-W2K | W2K | x86 | %W2KBASE% |
-W2K64 | W2K | IA64 | %W2KBASE% | -W2KI64
-WXP | WXP | x86 | %WXPBASE% |
-WXP64 | WXP | IA64 | %WXPBASE% | -WXPI64
-WXP2K | W2K | x86 | %WXPBASE% |
-WNET | WNET | x86 | %WNETBASE% |
-WNET64 | WNET | IA64 | %WNETBASE% | -WNETI64
-WNETXP | WXP | x86 | %WNETBASE% |
-WNETXP64 | WXP | IA64 | %WNETBASE% |
-WNETAMD64 | WNET | x64 | %WNETBASE% | -WNETX64
-WNET2K | W2K | x86 | %WNETBASE% |
-WLH | WLH | x86 | %WLHBASE% |
-WLH2K | W2K | x86 | %WLHBASE% |
-WLHXP | WXP | x86 | %WLHBASE% |
-WLHXP64 | WXP | IA64 | %WLHBASE% |
-WLHNET | WNET | x86 | %WLHBASE% |
-WLHNETI64 | WNET | IA64 | %WLHBASE% |
-WLHNETX64 | WNET | x64 | %WLHBASE% |
-WLHI64 | WLH | IA64 | %WLHBASE% |
-WLHX64 | WLH | x64 | %WLHBASE% |
-NT4 | NT4 | x86 | %NT4BASE% |
-------------------------------------------------------------
Support for NT4 and W2K DDKs is deprecated and not checked
anymore in new versions. It may or may not work.
-------------------------------------------------------------
Values for :
checked, chk indicates a checked build
free, fre indicates a free build
Remaining parameters ("opt!" = optional parameter):
path to build directory, try . (current directory)
[flags] opt! any flags you think should be passed to build (try /a
for clean)
-WDF opt! performs a WDF build
-PREFAST opt! performs a PREFAST build
Special files:
The build target directory (where the DIRS or SOURCES file resides) can
contain the following files:
- ddkprebld.cmd
Allows to include a step before the BUILD tool from the DDK is called
but after the environment for the respective DDK has been set!
- ddkpostbld.cmd
Allows to include a step after the BUILD tool from the DDK is called,
so the environment is still available to the script.
- ddkbldenv.cmd
Allows to set (or override) _any_ environment variables that may exist
in the global environment. Thus you can set the base directory for the
DDK from inside this script, making your project more self-contained.
DDKBUILD will only handle those files which exist, so you may choose to
use none, one or multiple of these script files.
(All scripts execute inside there current directory. Consider this!)
Examples:
"ddkbuild -NT4 checked ." (for NT4 BUILD)
"ddkbuild -WXP64 chk ."
"ddkbuild -WXP chk c:\projects\myproject"
"ddkbuild -WNET64 chk ." (IA64 build)
"ddkbuild -WNETAMD64 chk ." (AMD64/EM64T build)
"ddkbuild -WNETXP chk . -cZ -WDF"
"ddkbuild -WNETXP chk . -cZ -PREFAST"
In order for this procedure to work correctly for each platform, it
requires an environment variable to be set up for certain platforms.
There is an auto-detection mechanism in this script, which will work best
if the DDK/WDK was installed using the normal installer (i.e. not just
copied). The auto-detection is based on the DDK/WDK for which you request
a build. Whenever you set the variable explicitly, this will take
precedence over the auto-detected path!
The environment variables are as follows:
%NT4BASE% - Set this up for "-NT4" builds
%W2KBASE% - Set this up for "-W2K" and "-W2K64" builds
%WXPBASE% - Set this up for "-WXP", "-WXP64", "-WXP2K" builds
%WNETBASE% - Set this up for "-WNET*" builds
%WLHBASE% - Set this up for "-WLH*" builds
%WDF_ROOT% must be set if attempting to do a WDF Build previous to the
Vista WDK (in later DDKs there is no need to set WDF_ROOT).
OSR DDKBUILD.CMD V7.2 (2008-04-14) - OSR, Open Systems Resources, Inc.
-> report any problems found to info@osr.com or http://assarbad.net/contact