solitudecolin
驱动牛犊
驱动牛犊
  • 注册日期2003-05-13
  • 最后登录2003-07-31
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1101回复:2

新手求助:在XP中编译VdwLibs.dsw怎么会出错啊??

楼主#
更多 发布于:2003-06-12 11:51
在XP中用VC6打开\\\\NuMega\\DriverStudio\\DriverWorks\\source\\VdwLibs.dsw
进行Batch Build,会出现很多错误:
(我用的是ddk 2003,DriversStudio 2.6)

///////////////////////////////////////////////////
kstl.cpp
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(58) : see reference to class template instantiation \'back_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2333: \'back_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(97) : see reference to class template instantiation \'front_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2333: \'front_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : warning C4346: \'_Container::iterator\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(139) : see reference to class template instantiation \'insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2146: syntax error : missing \';\' before identifier \'iter\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2501: \'insert_iterator<_Container>::iter\' : missing storage-class or type specifiers
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2226: syntax error : unexpected type \'_Container\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2334: unexpected token(s) preceding \':\'; skipping apparent function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2333: \'insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_alloc.h(158) : fatal error C1903: unable to recover from previous error(s); stopping compilation
kstllmcb.cpp
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(58) : see reference to class template instantiation \'back_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2333: \'back_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(97) : see reference to class template instantiation \'front_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2333: \'front_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : warning C4346: \'_Container::iterator\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(139) : see reference to class template instantiation \'insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2146: syntax error : missing \';\' before identifier \'iter\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2501: \'insert_iterator<_Container>::iter\' : missing storage-class or type specifiers
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2226: syntax error : unexpected type \'_Container\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2334: unexpected token(s) preceding \':\'; skipping apparent function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2333: \'insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_alloc.h(158) : fatal error C1903: unable to recover from previous error(s); stopping compilation
kstlnphs.cpp
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(58) : see reference to class template instantiation \'back_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2333: \'back_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(97) : see reference to class template instantiation \'front_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2333: \'front_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : warning C4346: \'_Container::iterator\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(139) : see reference to class template instantiation \'insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2146: syntax error : missing \';\' before identifier \'iter\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2501: \'insert_iterator<_Container>::iter\' : missing storage-class or type specifiers
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2226: syntax error : unexpected type \'_Container\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2334: unexpected token(s) preceding \':\'; skipping apparent function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2333: \'insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_alloc.h(158) : fatal error C1903: unable to recover from previous error(s); stopping compilation
kstlphs.cpp
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(58) : see reference to class template instantiation \'back_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(51) : error C2333: \'back_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(97) : see reference to class template instantiation \'front_insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(90) : error C2333: \'front_insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : warning C4346: \'_Container::iterator\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
        ..\\..\\Common\\Include\\stl\\stl_iterator.h(139) : see reference to class template instantiation \'insert_iterator<_Container>\' being compiled
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2146: syntax error : missing \';\' before identifier \'iter\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(119) : error C2501: \'insert_iterator<_Container>::iter\' : missing storage-class or type specifiers
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2226: syntax error : unexpected type \'_Container\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(128) : error C2334: unexpected token(s) preceding \':\'; skipping apparent function body
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : warning C4346: \'_Container::value_type\' : dependent name is not a type
        prefix with \'typename\' to indicate a type
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2061: syntax error : identifier \'value_type\'
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2805: binary \'operator =\' has too few parameters
..\\..\\Common\\Include\\stl\\stl_iterator.h(131) : error C2333: \'insert_iterator<_Container>::operator`=\'\' : error in function declaration; skipping function body
..\\..\\Common\\Include\\stl\\stl_alloc.h(158) : fatal error C1903: unable to recover from previous error(s); stopping compilation
///////////////////////////////////////////////////////////
我怎么安装都没用!!
swf2003
驱动中牛
驱动中牛
  • 注册日期2003-02-13
  • 最后登录2011-10-28
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望22点
  • 贡献值0点
  • 好评度20点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-06-12 17:58
在ddk 的编译环境中编译试试,这一般都是编译环境不对。
你的认可是对我最大的鼓励!
y5318
驱动中牛
驱动中牛
  • 注册日期2001-09-18
  • 最后登录2018-05-29
  • 粉丝1
  • 关注0
  • 积分14分
  • 威望22点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
  • 社区居民
板凳#
发布于:2003-06-12 18:40
你在编译之前首先要检查一下,include与lib文件;
 然后再看看DDK的设置路经
游客

返回顶部