阅读:1554回复:5
求助DS3.1编译库问题
在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 那位大侠救救我吧,我已经弄了好多天了,试遍了网上所有可以找到的方法,就是解决不了啊! :( |
|
|
沙发#
发布于:2004-03-05 18:32
清出示编译环境!否则没法帮助你!
|
|
板凳#
发布于:2004-03-05 20:20
谢谢,我已经搞定了
|
|
|
地板#
发布于:2004-03-10 10:58
请问是怎么搞定的吗?我也遇到同样的问题!
谢谢! |
|
地下室#
发布于:2004-03-10 13:48
你可以看看我的这个帖子,照着做应该可以解决你的问题http://www.driverdevelop.com/forum/viewthread.php?tid=61821
|
|
|
5楼#
发布于:2004-03-10 14:12
谢谢!
|
|