Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with building boost.locale
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-11-16 01:28:32


On 15.11.2012 16:49, Neela Shrestha wrote:
> Hi,
>
> I used Easy build with
> $ cd path/to/boost_1_52_0
> $ ./bootstrap.sh --with-libraries=locale,
> system,date_time --prefix=.
> $ ./b2 install
>
> and run
> g++ -I path/to/boost_1_52_0 localecode.cpp
> ~/boost/stage/lib/libboost_locale.a
> ~/boost/stage/lib/libboost_system.a, I get following error. I also
> have ICU-49.1.2 Did I miss anything?
>
> boost_1_52_0/stage/lib/libboost_locale.a(numeric.o): In function
> `boost::locale::impl_icu::num_format<char>::~num_format()':
> numeric.cpp:(.text._ZN5boost6locale8impl_icu10num_formatIcED2Ev[_ZN5boost6locale8impl_icu10num_formatIcED5Ev]+0x20):
> undefined reference to `icu_48::Locale::~Locale()'

Apparently you also have to link to ICU.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk