|
Boost Users : |
Subject: [Boost-users] [regex] How to use ICU debug libs when building regex with bjam (win32)
From: Christian Hoffmann (chrmhoffmann_at_[hidden])
Date: 2009-03-06 11:39:27
Hi,
In our debug builds, we build ICU in debug mode and it creates libraries
with a "d" suffix (e.g. icuucd.lib). When I build boost regex now with:
bjam.exe -sICU_PATH=<somepath>\icu -d+2 --debug-configuration
toolset=msvc-9.0 threading=multi python-debugging=on link=shared
variant=debug --without-mpi libs\regex\build
it doesn't find the ICU libs and the linker complains.
I then tried to give ICU_LINK (e.g. like this):
bjam.exe -sICU_PATH=<somepath>\icu -sICU_LINK=icuucd.lib toolset=msvc-9.0
threading=multi python-debugging=on link=shared variant=debug
--without-mpi libs\regex\build
but it doesn't add the icuucd.lib to the linker file
"bin.v2\libs\regex\build\msvc-9.0\debug\python-debugging-on\threading-multi\boost_regex-vc90-mt-gyd-1_38.dll.rsp"
and I get unresolved symbols.
Any idea how to do this without hacking the Jamfile.v2?
Thanks a lot,
Chris
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