wangjian_c
驱动牛犊
驱动牛犊
  • 注册日期2004-02-22
  • 最后登录2010-05-06
  • 粉丝0
  • 关注0
  • 积分22分
  • 威望13点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
阅读:1554回复:5

求助DS3.1编译库问题

楼主#
更多 发布于:2004-03-02 00:47
在VC++中编译结果:
k1394.cpp
.\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier
.\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority'
.\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations
.\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member
.\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\..\include\kmemory.h(301) : error C2059: syntax error : ')'
.\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{'
.\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?)
.\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier
.\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier
.\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier
.\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
k1394Async.cpp
.\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier
.\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority'
.\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations
.\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member
.\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\..\include\kmemory.h(301) : error C2059: syntax error : ')'
.\..\include\kmemory.h(302) : error C2143: syntax error : missing ';' before '{'
.\..\include\kmemory.h(302) : error C2447: missing function header (old-style formal list?)
.\..\include\kmemory.h(308) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(322) : error C2065: 'MmMapLockedPagesSpecifyCache' : undeclared identifier
.\..\include\kmemory.h(327) : error C2065: 'BugCheckOnFailure' : undeclared identifier
.\..\include\kmemory.h(328) : error C2065: 'Priority' : undeclared identifier
.\..\include\kmemory.h(328) : error C2440: '=' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
K1394Isoc.cpp
.\..\include\kmemory.h(84) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(87) : error C2061: syntax error : identifier 'MM_PAGE_PRIORITY'
.\..\include\kmemory.h(301) : error C2065: 'MM_PAGE_PRIORITY' : undeclared identifier
.\..\include\kmemory.h(301) : error C2146: syntax error : missing ')' before identifier 'priority'
.\..\include\kmemory.h(301) : error C2433: 'MapToSystemSpaceSafe' : 'inline' not permitted on data declarations
.\..\include\kmemory.h(301) : error C2350: 'KMemory::MapToSystemSpaceSafe' is not a static member
.\..\include\kmemory.h(301) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\..\include\kmemory.h(301) : error C2059: syntax error : ')'


我的E-mail bluerain@263.net.cn QQ13591743
那位大侠救救我吧,我已经弄了好多天了,试遍了网上所有可以找到的方法,就是解决不了啊! :(
学习中
jialion
驱动小牛
驱动小牛
  • 注册日期2003-01-18
  • 最后登录2004-12-25
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-03-05 18:32
清出示编译环境!否则没法帮助你!
wangjian_c
驱动牛犊
驱动牛犊
  • 注册日期2004-02-22
  • 最后登录2010-05-06
  • 粉丝0
  • 关注0
  • 积分22分
  • 威望13点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-03-05 20:20
谢谢,我已经搞定了
学习中
yangzg
驱动牛犊
驱动牛犊
  • 注册日期2004-01-02
  • 最后登录2004-10-12
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2004-03-10 10:58
请问是怎么搞定的吗?我也遇到同样的问题!
谢谢!
wangjian_c
驱动牛犊
驱动牛犊
  • 注册日期2004-02-22
  • 最后登录2010-05-06
  • 粉丝0
  • 关注0
  • 积分22分
  • 威望13点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2004-03-10 13:48
你可以看看我的这个帖子,照着做应该可以解决你的问题http://www.driverdevelop.com/forum/viewthread.php?tid=61821
学习中
yangzg
驱动牛犊
驱动牛犊
  • 注册日期2004-01-02
  • 最后登录2004-10-12
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2004-03-10 14:12
谢谢!
游客

返回顶部