terran_lang
驱动牛犊
驱动牛犊
  • 注册日期2004-07-02
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分142分
  • 威望15点
  • 贡献值0点
  • 好评度14点
  • 原创分0分
  • 专家分0分
阅读:1005回复:0

DS3.2编译问题求教(很急)

楼主#
更多 发布于:2005-04-08 12:05
我用的系统是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命令,可是总是有这样的错误,望那位大哥能够赐教,我先谢谢大家了。
游客

返回顶部