读书人

Driverstudio3.2编译发生异常

发布时间: 2012-03-06 20:47:55 作者: rapoo

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)


[解决办法]
应先编译整个库

明白否?

读书人网 >驱动开发

热点推荐