阅读:1101回复:2
新手求助:在XP中编译VdwLibs.dsw怎么会出错啊??
在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 /////////////////////////////////////////////////////////// 我怎么安装都没用!! |
|
沙发#
发布于:2003-06-12 17:58
在ddk 的编译环境中编译试试,这一般都是编译环境不对。
|
|
|
板凳#
发布于:2003-06-12 18:40
你在编译之前首先要检查一下,include与lib文件;
然后再看看DDK的设置路经 |
|