阅读:925回复:0
Programming Windows Driver Model的例子程序无法正确编译
我在编译书后光盘带的例子程序里老是报错:Compiling - spinlock.cpp for i386
编译输出结果如下: Current DDK Directory = C:\WINDDK\2600.1106 Building for i386 ******Configuration: spinlock - Win32 Checked ************* C:\PROGRA~1\MI43B4~1\WINDOW~1\Chap4\spinlock>call C:\WINDDK\2600.1106\bin\setenv.bat C:\WINDDK\2600.1106 chk C:\PROGRA~1\MI43B4~1\WINDOW~1\Chap4\spinlock>build.exe -ceZ BUILD: Adding /Y to COPYCMD so xcopy ops won't hang. BUILD: Object root set to: ==> objchk_wxp_x86 BUILD: Compile and Link for i386 BUILD: Examining c:\progra~1\mi43b4~1\window~1\chap4\spinlock directory for files to compile. c:\progra~1\mi43b4~1\window~1\chap4\spinlock BUILD: Compiling c:\progra~1\mi43b4~1\window~1\chap4\spinlock directory Compiling - driver.rc for i386 Compiling - driverentry.cpp for i386 Compiling - readwrite.cpp for i386 Compiling - spinlock.cpp for i386 Compiling - generating code... for i386 BUILD: Linking c:\progra~1\mi43b4~1\window~1\chap4\spinlock directory Compiling - driverentry.cpp for i386 Compiling - readwrite.cpp for i386 Compiling - spinlock.cpp for i386 Compiling - generating code... for i386 NMAKE : U1073: don't know how to make 'c:\program' BUILD: nmake.exe failed - rc = 2 BUILD: Done 另外还有一个问题:书后光盘里的驱动程序是不是只能在Win98下运行哦,我在XP下运行怎么都看不到预期效果呢。 |
|