Driverstudio3.2编译发生错误
Deleting intermediate files and output files for project 'START - Win32 Free '.
--------------------Configuration: START - Win32 Free--------------------
Compiling resources...
Compiling...
STARTDriver.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).
STARTDevice.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...
执行 cl.exe 时出错.
START.sys - 1 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)
[解决办法]
应先编译整个库
明白否?