Boost logo

Boost :

Subject: Re: [boost] [chrono] v0.4.1 + thread_clock implementation on Windows
From: Roland Bock (rbock_at_[hidden])
Date: 2010-06-17 03:18:16


vicente.botet wrote:
> The library can be downloaded from http://www.boostpro.com/vault/index.php?action=downloadfile&filename=chrono.zip&directory=System& and the documentation is online on the sandbox http://svn.boost.org/svn/boost/sandbox/chrono/libs/chrono/doc/html/index.html.
>
>
>
Hi,

I am getting compile errors when performing installation like this:

tar jxf ../Downloads/boost_1_43_0.tar.bz2
unzip ../Downloads/chrono.zip
cp -rp chrono/* boost_1_43_0
cd boost_1_43_0
export EXPAT_LIBPATH=$INSTALL_ROOT/binaries/expat/2.0.1/lib
export EXPAT_INCLUDE=$INSTALL_ROOT/binaries/expat/2.0.1/include
./bootstrap.sh --with-icu=$INSTALL_ROOT/binaries/icu/4.2
mkdir build
./bjam -q --build-dir=build --prefix=$INSTALL_ROOT/binaries/boost/1.43 link=shared runtime-link=shared install

This procedure worked fine with 1.41 and chrono-0.4. It also works fine
when omitting chrono.

The messages start with this:

gcc.compile.c++ build/boost/bin.v2/libs/thread/build/gcc-4.2.4/release/threading-multi/pthread/thread.o
In file included from ./boost/thread/pthread/mutex.hpp:12,
                 from ./boost/thread/mutex.hpp:16,
                 from ./boost/thread/pthread/thread_data.hpp:12,
                 from ./boost/thread/thread.hpp:17,
                 from libs/thread/src/pthread/thread.cpp:10:
./boost/thread/locks.hpp:16:77: error: boost/conversion/boost/chrono_duration_to_posix_time_duration.hpp: No such file or directory
./boost/thread/locks.hpp:17:76: error: boost/conversion/boost/chrono_time_point_to_posix_time_ptime.hpp: No such file or directory

Regards,

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk