
Hi, I tried to build Boost with VC7 and STLport 4.6.2, but failed to compile some source files of Boost.date_time. Error messages are like: vc-C++ E:\CppLibs\boost_1_33_0\temp\bin\boost\libs\date_time\build\boost_date_time.dll\vc7-stlport\release\threading-multi\greg_month.obj greg_month.cpp E:\CppLibs\STLport-4.6.2\stlport\stl\_iterator_base.h(98) : error C2825: ¡°_Iterator::iterator_category¡±£ºcan not form a qualified name E:\CppLibs\boost_1_33_0\boost\date_time\date_parsing.hpp(270) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled with [ _Iterator=_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char>>::iterator ] E:\CppLibs\boost_1_33_0\boost\date_time\gregorian\parsers.hpp(79) : see reference to function template instantiation 'boost::date_time::period<point_rep,duration_rep> boost::date_time::from_simple_string_type<boost::gregorian::date,char>(const _STL::basic_string<_CharT,_Traits,_Alloc> &)' being compiled with [ point_rep=boost::gregorian::date, duration_rep=boost::gregorian::date_duration, _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] E:\CppLibs\STLport-4.6.2\stlport\stl\_iterator_base.h(98) : error C2039: 'iterator_category' : is not a member of 'operator "global namespace" ' And bjam failed to build DLLs vc-Link E:\CppLibs\boost_1_33_0\temp\bin\boost\libs\date_time\build\boost_date_time.dll\vc7-stlport\debug\threading-multi\boost_date_time-vc7-mt-gdp-1_33.dll E:\CppLibs\boost_1_33_0\temp\bin\boost\libs\date_time\build\boost_date_time.dll\vc7-stlport\debug\threading-multi\boost_date_time-vc7-mt-gdp-1_33.lib LINK : fatal error LNK1181: cannot open input file¡°stlport_vc6_stldebug.lib¡± It seems that auto-linking doesn't function properly. but I can't see why. any idea about these? Thanks in advance!
participants (1)
-
Hao Song