阅读:2790回复:5
问一个驱动环境配置问题
我按照教程的步骤一步一步却总是不成功,环境变量一个DDKROOT,再一个就是WORKPATH,无论是VC的IDE环境 还是自己用DDK 自带的批处理也不行,makefile ,sources都有,没装DS。但是DDK自带的我又可以成功编译,代码应该没问题用的哪个入门的HELLOWDM。
编译信息如下: Starting dirs creation...Completed. New or updated MSVC detected. Updating DDK environment.... Setting environment for using Microsoft Visual C++ tools. '堸' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 Starting dirs creation...Completed. BUILD: Object root set to: ==> objchk BUILD: /i switch ignored BUILD: Compile and Link for i386 BUILD: Loading D:\NTDDK\build.dat... BUILD: Computing Include file dependencies: BUILD: Examining d:\mydrivers directory tree for files to compile. d:\mydrivers BUILD: Saving D:\NTDDK\build.dat... BUILD: Done 系统找不到指定的路径。 请按任意键继续. . . build.log内容如下: BUILD: Computing Include file dependencies: BUILD: Examining d:\mydrivers\hellowdm directory for files to compile. Compiling d:\mydrivers\hellowdm directory ******************** 'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1' .\sources.(6) : U1033: syntax error : '$(DDKROOT)\inc\DDK' unexpected Stop. BUILD: nmake.exe failed - rc = 2 Linking d:\mydrivers\hellowdm directory ******************** 'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1' .\sources.(6) : U1033: syntax error : '$(DDKROOT)\inc\DDK' unexpected Stop. BUILD: nmake.exe failed - rc = 2 |
|