阅读:1382回复:1
help me:WDM1
Hello, all: I am a new driver programmer. When I checked build my device
driver, I get the following message. Could somebody give me a hint what the potential problem will be? I have installed Visual C++6.0、DDK2000 and SDK2003 in my D drive and have set environment before I build,I am sure that winres.h and excpt.h exist in D:\Program Files\Microsoft Visual Studio\VC98\Include,Then make sure the path is listed in the list of paths. ---------------------------------------------------------- my SOURCES is below: TARGETNAME= wdm1 TARGETTYPE= DRIVER DRIVERTYPE= WDM TARGETPATH= OBJ BROWSER_INFO=1 INCLUDE= $(BASEDIR)inc SOURCES = Init.cpp \ Pnp.cpp \ DebugPrint.c \ wdm1.rc NTTARGETFILES= PostBuildSteps ---------------------------------------------------------- I compiled WDM1 but it made some error. --------------------Configuration: Sys - Win32 Checked-------------------- 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:NTDDKbuild.dat... BUILD: Computing Include file dependencies: BUILD: Examining e:wdm1sys directory for files to compile. e:\wdm1\sys e:\wdm1\sys - 4 source files (1,223 lines) BUILD: Compiling e:\wdm1\sys directory Compiling - wdm1.rc for i386 wdm1.rc(10) : error RC1015: cannot open include file 'winres.h'. cvtres() : error CVT1101: cannot open objchk\i386\wdm1.tmp for reading Compiling - debugprint.c for i386 d:\ntddk\inc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory Compiling - init.cpp for i386 d:\ntddk\inc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory Compiling - pnp.cpp for i386 d:\ntddkinc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory NMAKE : U1073: don't know how to make 'objchk\i386\*.sbr' BUILD: nmake.exe failed - rc = 2 BUILD: Linking e:\wdm1\sys directory Compiling - wdm1.rc for i386 wdm1.rc(10) : error RC1015: cannot open include file 'winres.h'. cvtres() : error CVT1101: cannot open objchk\i386\wdm1.tmp for reading Compiling - debugprint.c for i386 d:\ntddk\inc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory Compiling - init.cpp for i386 d:\ntddk\inc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory Compiling - pnp.cpp for i386 d:\ntddk\inc\wdm.h(25) : error C1083: Cannot open include file: 'excpt.h': No such file or directory Linking Executable - objchk\i386\wdm1.sys for i386 link() : error LNK1181: cannot open input file "objchk\i386\wdm1.res" NMAKE : U1073: don't know how to make 'objchk\i386\*.sbr' BUILD: nmake.exe failed - rc = 2 BUILD: Done 4 files compiled - 11 Errors - 1223 LPS 1 executable built - 2 Errors wdm1.sys - 11 error(s), 0 warning(s) Thank you very much! Brike.Huang Brike.Huang@163.com |
|
沙发#
发布于:2004-12-27 11:12
<writing windows wdm device driver> ?
|
|