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::string_type' (or there is no acceptable
conversion)
with
[
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator
]
C:\testing\boost-cvs\boost\lexical_cast.hpp(189) : see reference to func
tion template instantiation 'bool boost::detail::lexical_stream::
operator >><Target>(InputStreamable &)' being compiled
with
[
Target=boost::date_time::date_names_put>>::st
ring_type,
Source=const char *,
InputStreamable=boost::date_time::date_names_put>::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::string_type,const char*>(Sour
ce)' being compiled
with
[
Target=boost::date_time::date_names_put>>::st
ring_type,
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator,
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::do_put_special_value(boost::date_time::date_names_put
::iter_type &,boost::date_time::date_names_put::special_value_enum) const'
with
[
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator
]
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' being compiled
with
[
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator
]
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' 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::string_type' (or there is no acceptable
conversion)
with
[
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator
]
C:\testing\boost-cvs\boost\lexical_cast.hpp(189) : see reference to func
tion template instantiation 'bool boost::detail::lexical_stream::
operator >><Target>(InputStreamable &)' being compiled
with
[
Target=boost::date_time::date_names_put>>::st
ring_type,
Source=const unsigned short *,
InputStreamable=boost::date_time::date_names_put>::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::string_type,const charT*>(Sou
rce)' being compiled
with
[
Target=boost::date_time::date_names_put>>::st
ring_type,
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator,
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::put_string(boost::date_time::date_names_put::iter_type &,const charT *const ) const'
with
[
Config=boost::gregorian::greg_facet_config,
charT=wchar_t,
OutputIterator=std::ostreambuf_iterator
]
"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...