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