Boost logo

Boost Users :

Subject: Re: [Boost-users] Can't build Boost sgd libraries using VC
From: Chris Glover (c.d.glover_at_[hidden])
Date: 2018-06-05 11:45:19


On Tue, 5 Jun 2018 at 00:34 Ed Bronkowski via Boost-users <
boost-users_at_[hidden]> wrote:

>
> b2
> --variant=debug
> --runtime-debugging=on
> --runtime-link=static
> --threading=multi
> --address-model=32
> --toolset=msvc-12.0
> --stagedir=C:/Libs/12.0/Win32/dbg
> --build-dir=./intermediate/32/debug
> >bx32debug.log 2>&1
>
> I've tried numerous variants. None have produced sgd libs (or anything
> with s).
>
> I don't explicitely link to Boost libraries. Boost header files cause
> "automatic" linking to "mt-sgd" libraries.
>

You are passing the command line parameters incorrectly; the leading -- is
only for certain options.

Why this is not an error is a mystery, but the following works for me;

b2 variant=debug runtime-debugging=on runtime-link=static threading=multi
address-model=32 toolset=msvc-14.1

-- chris



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