|
Boost Users : |
Subject: Re: [Boost-users] [regex] fails to work with ICU
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-04-07 12:33:33
> I cannot make boost :: regex and ICU work together.
> I installed icu4c 4_8_1_1 in /usr/local, then boost_1_49_0 libraries,
> in
> /usr/local/boost.
> I used bjam with "-sHAVE_ICU=1". It built successfully with a message
> "-has_icu builds: yes".
> So it means boost libraries found icu, and can use it. But it wouldn't. If
> I add header #include"boost/regex/icu.hpp" to file main.cpp ( In
> Xcode )
> and compile, I receive 451 errors beginning with:
>
>>
>>> /usr/local/boost_1_49_0/boost/regex/icu.hpp:22:28: error:
>>> unicode/utypes.h: No such file or directory
That's not really a regex question then - the ICU library headers aren't in
your compiler's search path - assuming they're installed in
/usr/local/include try adding that path to your compiler path.
HTH, John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net