|
Boost Users : |
Subject: Re: [Boost-users] Building boost 1.37 (Regex with ICU) problem with MSVC9 x64
From: KTC (ktc_at_[hidden])
Date: 2008-11-04 17:12:19
KTC wrote:
> Hi,
>
> I am unable to cleanly fully build boost 1.37 with ICU for regex for x64
> on Windows with MSVC++ 2008.
>
> I first tried building with MSVS 2008 SP1 on Windows XP SP3 with ICU
> 4.0. Building x86 versions first, there were a number of link error, so
> I (copy & then) renamed icudt.lib, icuin.lib, icuind.lib, and icuind.pdb
> to icudata.lib & icui18n* as a comment suggested on a website I found
> via Google. That fixed the x86 errors.
>
> I did the same with the x64 ICU files, and try building, but got 4 link
> errors.
>
> D:\boost_1_37_0>bjam --without-mpi --toolset=msvc --build-dir=x64
> --build-type=complete -sHAVE_ICU=1 -sICU_PATH="...." stage
>
> Because I had a few post-building error cross building ICU to x64 as it
> runs some build'd .exe that obviously can't run on x86 Windows, I
> preceeded to try building Boost.Regex on Windows XP x64 SP2 (running
> inside VMWare), again with MSVS 2008 SP1.
>
> Cleanly build ICU 4.0, copy & renamed the libs as above, before building:
>
> C:\boost_1_37_0>bjam --with-regex --toolset=msvc --build-type=complete
> -sHAVE_ICU=1 -sICU_PATH="C:\icu" stage
>
I have fixed it by adding the "architecture=x86 address-model=64"
options as suggested by Dodheim on IRC.
KTC
-- Experience is a good school but the fees are high. - Heinrich Heine
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