another information is that when I build the static library of boost:regex in linux with intel compiler also, this issue does not exit any more. I am not sure whether this phenomena related with win32 platform.
在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.