[boost:regex]compiling error when building boost:regex with ICU
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: Skipping build of: ./stage <build>no in common properties Skipping build of: ./stage <build>no in common properties Skipping build of: ./stage <build>no in common properties Skipping build of: ./stage <build>no in common properties Skipping build of: libs/regex/build/icucore <build>no in common properties Skipping build of: libs/regex/build/icuin <build>no in common properties Skipping build of: libs/regex/build/icudata <build>no in common properties C:/home/gejuan/boost_1_35_0/tools/build/v2/kernel\class.jam:93: in new *** argument error * rule object(searched-lib-target)@665.__init__ ( name : project : shared ? : search * : action ) * called with: ( icudata icui18n icuuc : object(project-target)@90 : true : libs/regex/build : object(null-action)@664 : : : : ) * extra argument icui18n C:/home/gejuan/boost_1_35_0/tools/build/v2/tools\builtin.jam:349:see definition of rule '__init__' being called C:/home/gejuan/boost_1_35_0/tools/build/v2/tools\builtin.jam:592: in object(searched-lib-generator)@6.run C:/home/gejuan/boost_1_35_0/tools/build/v2/build\generators.jam:859: in try-one-generator-really C:/home/gejuan/boost_1_35_0/tools/build/v2/build\generators.jam:920: in try-one-generator C:/home/gejuan/boost_1_35_0/tools/build/v2/build\generators.jam:1131: in construct-really what is the problem here?Did I miss something?
AMDG 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
This should be --with-regex, however I can't see how that relates to the error message. In Christ, Steven Watanabe
Actually I did have used the --with-regex, but the prolem is still the same
在2008-09-05 08:41:50,"Steven Watanabe"
AMDG
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
This should be --with-regex, however I can't see how that relates to the error message.
In Christ, Steven Watanabe
AMDG 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:
I've duplicated your problem, but I don't really understand the cause. For reference: * The error happens during the creation of the boost_regex library * The library names are added to the property-set of boost_regex using <name>. * The error can be caused by the parameters: [debug|release] link=static runtime-link=static * It seems to work in the trunk and in 1.36. In Christ, Steven Watanabe
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.
participants (3)
-
gj_uestc
-
John Maddock
-
Steven Watanabe