阅读:1279回复:2
初级问题
在装上driverstudio后,批构件vdmlibs的时候出现如下错误:Compiling...
k1394.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory k1394Async.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory K1394Isoc.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kevent.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kexception.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kirp.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory klower.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kmutex.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kpnplow.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ksemaphr.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kspin.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ksysthrd.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ktimer.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kusb.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kustring.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory util.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory Generating Code... Error executing cl.exe. kndiswdm.lib - 16 error(s), 0 warning(s) --------------------Configuration: NdisWdm - Win32 Free-------------------- Compiling... k1394.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory k1394Async.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory K1394Isoc.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kevent.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kexception.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kirp.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory klower.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kmutex.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kpnplow.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ksemaphr.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kspin.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ksysthrd.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory ktimer.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kusb.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory kustring.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory util.cpp .\\..\\include\\kndisvdw.h(42) : fatal error C1083: Cannot open include file: \'kndiscpp.h\': No such file or directory Generating Code... Error executing cl.exe. kndiswdm.lib - 16 error(s), 0 warning(s) --------------------Configuration: VdwLibs - Win32 WDM Checked-------------------- Compiling... cpprt.cpp dwcontrl.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression getnames.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression k1394.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression k1394Async.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression K1394Isoc.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kadapter.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kaddress.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kbus.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kchecker.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdevice.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdevque.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmaxfer.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmqcsq.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmqex.cpp kerrlog.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kevent.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kexception.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kfifo.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kfile.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Generating Code... Compiling... khidaux.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kintrupt.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kirp.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression klist.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression klower.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kmutex.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpcicfg.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kphysdev.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpnpdev.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpnplow.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kquery.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kregkey.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kresreq.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksemaphr.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksfifo.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression KsMiniDriver.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kspin.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kstdwmi.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kstl.cpp kstllmcb.cpp Generating Code... Compiling... kstlnphs.cpp kstlphs.cpp Kstradpt.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Kstream.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Kstrmdrv.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksysthrd.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ktimer.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ktrace.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kunitnam.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kusb.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kustring.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kvxdintf.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kwmi.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kwmistr.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression stcinit.cpp suballoc.cpp util.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Generating Code... Error executing cl.exe. vdw_wdm.lib - 49 error(s), 0 warning(s) --------------------Configuration: VdwLibs - Win32 WDM Free-------------------- Compiling... cpprt.cpp dwcontrl.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression getnames.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression k1394.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression k1394Async.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression K1394Isoc.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kadapter.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kaddress.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kbus.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kchecker.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdevice.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdevque.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmaxfer.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmqcsq.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kdmqex.cpp kerrlog.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kevent.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kexception.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kfifo.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kfile.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Generating Code... Compiling... khidaux.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kintrupt.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kirp.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression klist.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression klower.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kmutex.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpcicfg.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kphysdev.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpnpdev.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kpnplow.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kquery.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kregkey.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kresreq.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksemaphr.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksfifo.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression KsMiniDriver.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kspin.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kstdwmi.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kstl.cpp kstllmcb.cpp Generating Code... Compiling... kstlnphs.cpp kstlphs.cpp Kstradpt.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Kstream.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Kstrmdrv.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ksysthrd.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ktimer.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression ktrace.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kunitnam.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kusb.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kustring.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kvxdintf.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kwmi.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression kwmistr.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression stcinit.cpp suballoc.cpp util.cpp .\\..\\include\\kworkitm.h(31) : fatal error C1017: invalid integer constant expression Generating Code... Error executing cl.exe. vdw_wdm.lib - 49 error(s), 0 warning(s) The following environment variables were not found $(DRIVERNETWORKS) $(WINVER) $(NTDDI_VERSION) $(_WIN32_IE) $(_WIN32_WINNT) 谁能告诉我怎么回事?谢谢了 |
|
沙发#
发布于:2005-03-30 13:42
The following environment variables were not found
$(DRIVERNETWORKS) $(WINVER) $(NTDDI_VERSION) $(_WIN32_IE) $(_WIN32_WINNT) ------------------------------------------------------ 以上已经告诉你错在什么地方了,看看你的vc 菜单 driverstudio |ddk building setting ,看看帮助。 good luck |
|
板凳#
发布于:2005-03-30 17:52
ddk building setting 没有问题,我又装了个3.0的就可以编译了,不知道是不是我下的那个版本有问题,不过还是谢谢你了 :)
|
|