I activated bjam like this:"bjam --toolset=intel --with-regex link=static runtime-link=static -sICU_PATH=C:\home\gejuan\icu4c-4_0-src\icu stage'to generate a static lib "libboost_regex-iw-mt-s-1_36.lib",
to find out that 'stlport_static.5.1.lib' always been asked from "libboost_regex-iw-mt-s-1_36.lib".
could you pls kindly tell me how can I get myself out of this?
Thanks very much
Juan
在2008-09-08 23:52:26,"John Maddock"
gj_uestc wrote:
When I use "libboost_regex-iw-mt-s-1_36.lib" in my application , I got such compiler error "cannot open file 'stlport_static.5.1.lib'".Should I need to find stlport_static.5.1.lib and add it by my self? Is there any Macro that may let myself choose whether or not use the 'stlport_static.5.1.lib'?
PS:The boost lib I used is compilered with ICU,Is there any chance that the 'stlport_static.5.1.lib' is brought by useage of ICU?
Nope, it will only be there if you built regex against STLPort, and if you did that, then you need to be using STLPort in your application as well (and obviously telling the compiler where the binary is). You can of course build regex without STLport and with ICU if you prefer.
HTH, John.