DriverStudio中的VdwLibs编译问题,请各路高手分析一下,谢谢!

caixin99 2008-12-21 08:12:02
安装环境:
WindowsXP sp2 + VS2005 + DDK6000 + DriverStudio 3.2

用VS2005打开VdwLibs工程编译时出现以下错误,请高手分析一下,谢谢!
------ Using D:\WinDDK\6000 DDK
1>------ Build started: Project: VdwLibs, Configuration: WDM Checked Win32 ------
1>Compiling...
1>suballoc.cpp
1>..\..\Common\Source\suballoc.cpp(336) : error C2065: 'pnode' : undeclared identifier
1>..\..\Common\Source\suballoc.cpp(352) : error C2227: left of '->m_larger' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\Common\Source\suballoc.cpp(354) : error C2227: left of '->m_larger' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\Common\Source\suballoc.cpp(355) : error C2227: left of '->m_larger' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>..\..\Common\Source\suballoc.cpp(355) : error C2227: left of '->m_smaller' must point to class/struct/union/generic type
1>..\..\Common\Source\suballoc.cpp(359) : error C2227: left of '->m_larger' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>kstlphs.cpp
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
1>kstlnphs.cpp
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
1>kstllmcb.cpp
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
1>kstl.cpp
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
1>kustring.cpp
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\DriverWorks\include\kmemory.h(350) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>.\kustring.cpp(309) : error C2440: 'initializing' : cannot convert from 'PWCH' to 'PUSHORT'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\kustring.cpp(310) : error C2440: 'initializing' : cannot convert from 'PWCH' to 'PUSHORT'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>kusb.cpp
1>.\kusb.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>d:\DriverStudio\DriverWorks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>d:\DriverStudio\DriverWorks\include\kmemory.h(350) : warning C4996: 'MmMapLockedPages' was declared deprecated
1> D:\WinDDK\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
1>.\kusb.cpp(1370) : error C2065: 'OpenPipes' : undeclared identifier
1>.\kusb.cpp(1638) : error C2065: 'i' : undeclared identifier
1>.\kusb.cpp(1638) : error C2228: left of '.InterfaceDescriptor' must have class/struct/union
1>.\kusb.cpp(2218) : error C2065: 'j' : undeclared identifier
1>Generating Code...
1>Build log was saved at "file://d:\DriverStudio\DriverWorks\source\obj\i386\wdmchecked\BuildLog.htm"
1>VdwLibs - 16 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
...全文
224 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
kuanghong 2009-01-16
  • 打赏
  • 举报
回复
我用vc6编译每问题
caijx_rabbit 2009-01-16
  • 打赏
  • 举报
回复
顶。。。。
我也遇到相同的问题,其他的好解决,只是如下的怎么修改呢?

c:\program files\compuware\driverstudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
kstllmcb.cpp
c:\program files\compuware\driverstudio\driverworks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
c:\winddk\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
c:\program files\compuware\driverstudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
Generating Code...
Compiling...
kstlphs.cpp
c:\program files\compuware\driverstudio\driverworks\include\util.h(143) : warning C4996: 'MmMapLockedPages' was declared deprecated
c:\winddk\6000\inc\ddk\wdm.h(16806) : see declaration of 'MmMapLockedPages'
c:\program files\compuware\driverstudio\common\include\stl\cstdlib(25) : fatal error C1083: Cannot open include file: '../crt/cstdlib': No such file or directory
kstlnphs.cpp
qqlpp 2008-12-21
  • 打赏
  • 举报
回复
友情up

21,595

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧