please help building boost::date_time
Hello everybody,
I have some problems trying to build the date_time libraries.
I'm using:
boost 1.32.0
stlport 4.6.2
MSVC7.1 (on Windows of course)
with the following build command line:
C:\Development\boost_1_32_0>bjam "-sTOOLS=vc-7_1-stlport"
"-sSTLPORT_PATH=c:/Development" "-sstlport-iostream=on"
the first build error I get is the following (which causes a whole
cascade to follow):
[...]
C:\Development\boost_1_32_0\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
On Sat, 08 Jan 2005 13:10:19 +0100, Soeren.Meyer-Eppler wrote
Hello everybody, I have some problems trying to build the date_time libraries.
I'm using:
...snip details...
'libboost_date_time-vc71-mt-p-1_32.lib' I'd be most grateful.
Hi Sören -
This problem is due to STLPort wchar_t support (this is a STLPort default
iostreams build). There are 2 ways to deal with this.
No wide string/stream/etc
Build date_time from boost_root with:
bjam -a "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_PATH=..."
"-sBUILD=<define>BOOST_NO_STD_WSTRING"
--stagedir=... --with-date_time stage
With wide string/stream/etc
Rebuild STLPort to use wchar_t by adding /Zc:wchar_t to the STLPort makefile.
Build date_time from boost_root with:
bjam -a "-sTOOLS=vc-7_1-stlport" "-sSTLPORT_PATH=..."
"-sBUILD=
participants (2)
-
Jeff Garland
-
Soeren.Meyer-Eppler