|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-07-18 11:27:28
"hh10k" <kurt_at_[hidden]> writes:
> I've compiled STLport for vc6, and can compile Boost with this:
>
> bjam "-sTOOLS=msvc-stlport" "-sBUILD=debug <stlport-iostream>on"
>
> So far so good, but when I try to compile a simple Boost.Python
> example (why I got Boost) I get a heap of link errors because Boost
> has linked with the DLL version of STLport, and I want it statically
> linked. I thought it's meant to default to static, but I can only
> guess that STLport is detecting otherwise.
>
> So, in order to force Boost to use the static verion, I tried:
>
> bjam "-sTOOLS=msvc-stlport" "-sBUILD=debug <stlport-iostream>on
> <define>_STLP_USE_STATIC_LIB"
try
bjam "-sTOOLS=msvc-stlport" "-sBUILD=debug <runtime-link>static <stlport-iostream>on"
^^^^^^^^^^^^^^^^^^^^
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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