boost and STLport using VC++ 7.1

Hello, I'm trying to build boost using VC++ 7.1 against STLport 5.0 rc2. The very first library that is built is boost_date_time.dll and the compiler chokes on greg_month.cpp. The full bjam output is at the end of the message. Some background info, that may be useful: - I can successfully build boost without STLport using this this command: bjam "-sTOOLS=vc-7_1" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - when using STLport I build using: bjam "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_PATH=..\STLport\stlport" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - if I let the building process continue, it builds about 60% of all libraries - I need to use STLport5 because it supports VC++ 7.1 out of the box - I've tried building CVS/HEAD version of boost as well as the latest released version 1.32 So, has anybody tried building this combination? Thanks in advance. Here is the full output. Oleg. vc-C++ ..\boost-obj\bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1-st lport\debug\threading-multi\greg_month.obj greg_month.cpp C:\testing\boost-cvs\boost\lexical_cast.hpp(150) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'boost::date_time::date _names_put<Config,charT,OutputIterator>::string_type' (or there is no acceptable conversion) with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>> ] C:\testing\boost-cvs\boost\lexical_cast.hpp(189) : see reference to func tion template instantiation 'bool boost::detail::lexical_stream<Target,Source>:: operator >><Target>(InputStreamable &)' being compiled with [ Target=boost::date_time::date_names_put<boost::gregorian::greg_facet _config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::st ring_type, Source=const char *, InputStreamable=boost::date_time::date_names_put<boost::gregorian::g reg_facet_config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar _t>>>::string_type ] C:\testing\boost-cvs\boost\date_time\date_names_put.hpp(131) : see refer ence to function template instantiation 'Target boost::lexical_cast<boost::date_ time::date_names_put<Config,charT,OutputIterator>::string_type,const char*>(Sour ce)' being compiled with [ Target=boost::date_time::date_names_put<boost::gregorian::greg_facet _config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::st ring_type, Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>>, Source=const char * ] C:\testing\boost-cvs\boost\date_time\date_names_put.hpp(127) : while com piling class-template member function 'void boost::date_time::date_names_put<Con fig,charT,OutputIterator>::do_put_special_value(boost::date_time::date_names_put <Config,charT,OutputIterator>::iter_type &,boost::date_time::date_names_put<Conf ig,charT,OutputIterator>::special_value_enum) const' with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>> ] C:\testing\boost-cvs\boost\date_time\date_names_put.hpp(213) : see refer ence to class template instantiation 'boost::date_time::date_names_put<Config,ch arT,OutputIterator>' being compiled with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>> ] C:\testing\boost-cvs\libs\date_time\build\../src\gregorian\greg_month.cp p(129) : see reference to class template instantiation 'boost::date_time::all_da te_names_put<Config,charT>' being compiled with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t ] C:\testing\boost-cvs\boost\lexical_cast.hpp(150) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'boost::date_time::date _names_put<Config,charT,OutputIterator>::string_type' (or there is no acceptable conversion) with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>> ] C:\testing\boost-cvs\boost\lexical_cast.hpp(189) : see reference to func tion template instantiation 'bool boost::detail::lexical_stream<Target,Source>:: operator >><Target>(InputStreamable &)' being compiled with [ Target=boost::date_time::date_names_put<boost::gregorian::greg_facet _config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::st ring_type, Source=const unsigned short *, InputStreamable=boost::date_time::date_names_put<boost::gregorian::g reg_facet_config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar _t>>>::string_type ] C:\testing\boost-cvs\boost\date_time\date_names_put.hpp(189) : see refer ence to function template instantiation 'Target boost::lexical_cast<boost::date_ time::date_names_put<Config,charT,OutputIterator>::string_type,const charT*>(Sou rce)' being compiled with [ Target=boost::date_time::date_names_put<boost::gregorian::greg_facet _config,wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::st ring_type, Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>>, Source=const wchar_t * ] C:\testing\boost-cvs\boost\date_time\date_names_put.hpp(188) : while com piling class-template member function 'void boost::date_time::date_names_put<Con fig,charT,OutputIterator>::put_string(boost::date_time::date_names_put<Config,ch arT,OutputIterator>::iter_type &,const charT *const ) const' with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::char_traits<wch ar_t>> ] "cl" /Zm800 -nologo /EHsc -c -DBOOST_ALL_DYN_LINK=1 -DUSE_DATE_TIME_PRE_1_ 33_FACET_IO -D_STLP_DEBUG=1 -D_STLP_DEBUG_UNINITIALIZED=1 -D_STLP_USE_DYNAMIC_LI B=1 /Z7 /Od /Ob0 /EHsc /GR /MDd /Op /Zc:forScope -I"..\boost-obj\bin\boost\li bs\date_time\build" -I"..\STLport\stlport\STLport-4.6.2\stlport" -I"C:\testing \boost-cvs" -Fo"..\boost-obj\bin\boost\libs\date_time\build\boost_date_time.dl l\vc-7_1-stlport\debug\threading-multi\greg_month.obj" -Tp"C:\testing\boost-cvs \libs\date_time\build\../src/gregorian/greg_month.cpp" ...failed vc-C++ ..\boost-obj\bin\boost\libs\date_time\build\boost_date_time.dll \vc-7_1-stlport\debug\threading-multi\greg_month.obj...

At Wednesday 2005-03-30 22:48, you wrote:
Hello,
I'm trying to build boost using VC++ 7.1 against STLport 5.0 rc2. The very first library that is built is boost_date_time.dll and the compiler chokes on greg_month.cpp. The full bjam output is at the end of the message.
Some background info, that may be useful: - I can successfully build boost without STLport using this this command: bjam "-sTOOLS=vc-7_1" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - when using STLport I build using: bjam "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_PATH=..\STLport\stlport" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - if I let the building process continue, it builds about 60% of all libraries - I need to use STLport5 because it supports VC++ 7.1 out of the box - I've tried building CVS/HEAD version of boost as well as the latest released version 1.32
So, has anybody tried building this combination?
I'm curious, why do you need to use STLport at all? The one that comes with 7.1 seems to be working rather well "out of the box" (see the regressions run by RudbekAssociates (that's me)).
Thanks in advance. Here is the full output. Oleg.
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

I'm trying to build boost using VC++ 7.1 against STLport 5.0 rc2. The very first library that is built is boost_date_time.dll and the compiler chokes on greg_month.cpp. The full bjam output is at the end of the message.
So, has anybody tried building this combination? I'm curious, why do you need to use STLport at all? The one that comes with 7.1 seems to be working rather well "out of the box" (see the regressions run by RudbekAssociates (that's me)). My code is cross-platform, and I'd like to use the same STL implementation on both linux and win32. Ie so I can compile my source
Hello Victor, Victor A. Wagner Jr. wrote on Friday, 1 April 2005: tree on both platforms with fewer external dependencies. But really, just because I am curious :) Best regards, Oleg.

On Thu, 31 Mar 2005 17:48:49 +1200, Oleg Smolsky wrote:
Hello,
I'm trying to build boost using VC++ 7.1 against STLport 5.0 rc2. The very first library that is built is boost_date_time.dll and the compiler chokes on greg_month.cpp. The full bjam output is at the end of the message.
Some background info, that may be useful: - I can successfully build boost without STLport using this this command: bjam "-sTOOLS=vc-7_1" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - when using STLport I build using: bjam "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_PATH=..\STLport\stlport" "-sBUILD=debug release <runtime-link>dynamic <threading>multi" --prefix=..\boost --builddir=..\boost-obj install - if I let the building process continue, it builds about 60% of all libraries - I need to use STLport5 because it supports VC++ 7.1 out of the box - I've tried building CVS/HEAD version of boost as well as the latest released version 1.32
So, has anybody tried building this combination?
Did you build stlport with wchar_t support? When working with stlport-4.6.2 I had to build it with wchar_t support before I could build date_time with vc-7.1/stlport. I did this by adding /Zc:wchar_t to the vc71.mak file. Bart
participants (3)
-
Bart
-
Oleg Smolsky
-
Victor A. Wagner Jr.