关于搭建驱动开发环境的问题
大家好!
我在虚拟机里安装了开发驱动需要的软件,软件的安装顺序:Windows XP --> VC6.0 --> WinXP_DDK -> DriverStudio3.2
DriverStudio菜单下的DDK Build Settings,在弹出的对话框中选择已经安装的DDK目录(比如我的是C:\WINDDK\2600
VC6.0-->Tools-->Options头文件目录 C:\WINDDK\2600\inc\wxp
库文件目录C:\WINDDK\2600\lib\wxp\i386
编译vdwlibs.dsw没有问题!
编译HelloWdm.dsw错误如下:请高手赐教,谢谢!
(HelloWdm.dsw路径C:\Program Files\Compuware\DriverStudio\DriverWorks\Examples\wdm\hellowdm)
C:\PROGRA~1\COMPUW~1\DRIVER~1\DRIVER~4\include\dep_wdm\wdm.h(6) : fatal error C1189: #error : Invalid wdm.h! Check include path. wdm.h should be in the DDK directory defined by $(WDM_INC_PATH).
HelloWdm.cpp
C:\PROGRA~1\COMPUW~1\DRIVER~1\DRIVER~4\include\dep_wdm\wdm.h(6) : fatal error C1189: #error : Invalid wdm.h! Check include path. wdm.h should be in the DDK directory defined by $(WDM_INC_PATH).
Generating Code...
Error executing cl.exe.
HelloWdm.sys - 2 error(s), 0 warning(s)
The following environment variables were not found
$(CRT_INC_PATH)
$(TARGET_INC_PATH)
$(DDK_INC_PATH)
$(WDM_INC_PATH)
$(BASEDIR)