阅读:1488回复:0
DDKWIZARD+VS2003无法编译
我照网上的说法添加了好多个环境变量,包括DDKROOT,W2KBASE,WNETBASE,WXPBASE,然后装了DDKWIZARD,接着建立一个DDK PROJECT,往里面加现有的C文件,可是按下ctrl+f7不能编译,或者说编译的按钮是灰色的,但是生成XXXX.WXP,按下后出现
“------ 已启动生成: 项目: EmptyDriver3.WXP, 配置: WXP free Win32 ------ 正在执行生成文件项目操作 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: >> Performing pre-build steps [ddkprebld.cmd] ... DDKBLD: << Finished pre-build steps [ddkprebld.cmd] ... DDKBLD: WXP (free) using the Windows XP DDK and %WXPBASE% DDKBLD: Directory: D:\MYDRRI~1\EMPTYD~3\EMPTYD~1 DDKBLD: WXPBASE: D:\WINDDK\3790 DDKBLD: Run build -Ze -MI for free version in . BUILD: Adding /Y to COPYCMD so xcopy ops won't hang. BUILD: Using 2 child processes BUILD: Object root set to: ==> objfre_wnet_x86 BUILD: Compile and Link for i386 BUILD: d:\mydrri~1\emptyd~3\emptyd~1\sources(4): Unsupported TARGETTYPE value - BUILD: Examining d:\mydrri~1\emptyd~3\emptyd~1 directory for files to compile. d:\mydrri~1\emptyd~3\emptyd~1 BUILD: Compiling d:\mydrri~1\emptyd~3\emptyd~1 directory BUILD: Done DDKBLD: Build complete DDKBLD: Building browse information files DDKBLD: >> Performing post-build steps [ddkpostbld.cmd] ... DDKBLD: << Finished post-build steps [ddkpostbld.cmd] ... 生成日志保存在“file://d:\mydrriver\EmptyDriver3\EmptyDriver3\\BuildLog.htm”中 EmptyDriver3.WXP - 0 错误,0 警告 ---------------------- 完成 --------------------- 生成: 1 已成功, 0 已失败, 0 已跳过 ” 可是按下F5,却弹出“调试会话的可执行文件” 请问怎样才能生成。sys文件呢? 我确定已经按照网上的步骤做好准备了,包括上面说的,还有在VS里面设置“VC++目录” |
|