Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost:regex]compiling error when buildingboost:regex with ICU
From: John Maddock (john_at_[hidden])
Date: 2008-09-05 06:35:31


gj_uestc wrote:
>> hi,
>> while I tried to build all binaries of boost_1_35_0 with ICU, I only
>> got 2 :libboost_regex-iw-mt-gd-1_35.lib and libboost_regex-iw-mt
>> 1_35.lib,with the rest 6 are missing. I activated bjam like this:
>> bjam --toolset=intel -with regex
>> -sICU_PATH=/cygdrive/c/home/gejuan/ICU/icu4c-3_8_1-src/icu/source
>> --build-type=complete -sHAVE_ICU=1 stage.and I got error message:
>>

The command line should be:

bjam --toolset=intel --with-regex -sICU_PATH=/cygdrive/c/home/gejuan/ICU/icu4c-3_8_1-src/icu/source
 --build-type=complete stage

i.e. -sHAVE_ICU isn't required if you've already set ICU_PATH.

Also I notice your ICU path is part of cygwin? ICU would need to have been
built with either the Intel or MSVC compilers in order to be link-compatible
with an Intel Boost build (I believe IBM have MSVC precompiled binaries
available on their ICU website).

BTW the command line you tried should also work, and does with 1.36 and
current Trunk.

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