Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-01-28 04:38:43


jhfjgfhjgf_at_[hidden] wrote:
> Hello,
> I am using the current boost (1.35) from the SVN, built with Visual
> Studio 2008 in 32 bit mode.
>
> The debug build of my project works fine, but unfortunately there is
> a linker error when building my application with the release
> configuration. 1>LINK : fatal error LNK1104: cannot open file
> 'libboost_iostreams-vc90-mt-s-1_35.lib'
>
> The boost library path is correct - and there is definitely no
> 'libboost_iostreams-vc90-mt-s-1_35.lib'.

That's the library for the release, statically linked VC runtime.

> I build use using bjam:
>
> bjam --toolset=msvc-9.0 -j4 -sZLIB_INCLUDE=..\..\..\..\zlib-1.2.3
> -sZLIB_SOURCE=..\..\..\..\zlib-1.2.3 link=static,shared debug release

Maybe you need "runtime-link=static release" in there? I'm not completely
sure of the right name to use, but link=static only effects the library you
are building not the runtime variant built.

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