阅读:3400回复:2
请教DriverStudio问题
我装了DriverStudio3.2,但是用它和Visual C++ 6.0集成后,对自动生成的项目进行Build总是出错,不知道是什么原因啊?请各位大虾指教,谢谢!
--------------------Configuration: test2 - Win32 Free-------------------- D:\DriverProjects\test2\Driver\power.c(10): Could not find the file power.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\pnp.c(10): Could not find the file pnp.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\queue.c(10): Could not find the file queue.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\iorw.c(11): Could not find the file iorw.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\wmi.c(10): Could not find the file wmi.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\test2.c(11): Could not find the file test2.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\debug.c(10): Could not find the file debug.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. D:\DriverProjects\test2\Driver\registry.c(10): Could not find the file Registry.tmh. D:\DriverProjects\test2\Driver\pch.h(21): Could not find the file ntstrsafe.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(32): Could not find the file ntdef.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(34): Could not find the file bugcodes.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(35): Could not find the file ntiologc.h. F:\WINDDK\2600.1106\INC\DDK\WDM\WXP\wdm.h(5415): Could not find the file ia64reg.h. Compiling resources... Compiling... registry.c D:\DriverProjects\test2\Driver\registry.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory debug.c D:\DriverProjects\test2\Driver\debug.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory test2.c D:\DriverProjects\test2\Driver\test2.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory wmi.c D:\DriverProjects\test2\Driver\wmi.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory iorw.c D:\DriverProjects\test2\Driver\iorw.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory queue.c D:\DriverProjects\test2\Driver\queue.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory pnp.c D:\DriverProjects\test2\Driver\pnp.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory power.c D:\DriverProjects\test2\Driver\power.c(0) : fatal error C1083: Cannot open include file: 'warning.h': No such file or directory Generating Code... Error executing cl.exe. test2.sys - 8 error(s), 0 warning(s) The following environment variables were not found $(CRT_INC_PATH) $(TARGET_INC_PATH) $(WDM_INC_PATH) $(DDK_INC_PATH) $(WINVER) $(NTDDI_VERSION) $(_WIN32_IE) $(_WIN32_WINNT) |
|
沙发#
发布于:2008-09-29 09:06
thankS
|
|
板凳#
发布于:2007-08-15 12:07
driverstudio 有一个专门的build菜单在vc ide里,把ddk root 和其他选项设置好
编译就是了 |
|