Boost logo

Boost Users :

Subject: Re: [Boost-users] statically linked boost libs with VS2010 missing ?
From: trevor_at_[hidden]
Date: 2012-08-08 03:00:25


OIC said the blind man.....solved.

OK, so I thought that all that was required was "link=static", but I
was neglecting "runtime-link=static". I suppose a "complete" build
would've solved my problem too.

carry on.

On 2012-08-08 10:21, trevor_at_[hidden] wrote:
> Hi all,
>
> I'm new to boost, and I'm trying to compile a windows console app
> statically so the end user doesn't need vcredist.
>
> I've changed my code generation options to use /mt (static
> multithreaded) instead of dynamic multithreaded, but the linker
> cannot
> find any libs with libboost*-sgd*.lib (ie.any static boost libs), and
> they certainly don't exist on my computer. I've performed a
> --clean-all and recompiled boost using "b2 link=static", but the libs
> are still missing, even though the compile seems to work fine - and
> the generated libs are actually following the dynamic naming
> convention, not the static convention.
>
> Is this some MSVC toolchain issue ? Is there another option I need to
> be using for this toolchain ?
>
> thanks
> Trevor.
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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