building boost with unicode regex enabled on x64 windows
Am trying to build boost on x64 windows. So far all is going well, however, I can't persuade boost to find the ICU library.
I have a binary release of x64 ICU available at c:\dev
so, using the MSVC x64 tools prompt I am issuing the following:
set PATH=%PATH%;c:\dev\bin;
set INCLUDE=%INCLUDE%;c:\dev\include;
set LIB=%LIB%;c:\dev\lib;
bootst开发者_开发技巧rap.bat
bjam -sHAVE_ICU=1 --toolset=msvc-10.0 --address-model=64 \
--build-type=complete release
which works fine, apart from the fact bjam
keeps responding with:
- has_icu builds = no
Any ideas? I'm using MSVC10 x64 Prompt if that helps. The ICU library is the 64-bit version for Windows available here and meets boost's requirement of being built with the same toolchain (MSVC10).
Apply this patch from Boost SVN and make sure ICU_PATH
is defined, for more information see Boost bug#4864 .
精彩评论