阅读:1005回复:0
DS3.2编译问题求教(很急)
我用的系统是win2000(sp4),2000ddk,编译工具是vc++6.0,编译ds3.2下的vdwlibs,总是出现如下错误:
.\\..\\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 它们指向的错误都是: #if ((NTDDI_VERSION >= 0x05000000) || (_WDM_ && (WDM_MAJORVERSION > 1 || ((WDM_MAJORVERSION == 1) && (WDM_MINORVERSION >= 0x10))))) 我的ddk路径也设置正确了,也执行了ddk下的build -cZ命令,可是总是有这样的错误,望那位大哥能够赐教,我先谢谢大家了。 |
|