Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost:regex]an compiler error when use boost1_36 inapplication
From: gj_uestc (gj_uestc_at_[hidden])
Date: 2008-09-09 00:56:49


      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" <john_at_[hidden]> дµÀ£º
>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.
>



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