Boost logo

Boost-Build :

From: Müller, Alexander (am_at_[hidden])
Date: 2020-01-11 10:13:49


Hi guys,

to make a long story short: I am unable to compile the boost source 1.72 as debug static in a Microsoft Environment.

I tried and fiddled with all kinds of command lines, but to no success. I do have release lib's, as desired.

Regarding the documentation, the command should be:
b2 --prefix=C:\Boost toolset=msvc-14.2 address-model=64 architecture=x86 variant=debug debug-symbols=on link=static threading=multi runtime-link=static --build-type=complete stage

That's a variation of the successful release build, that I have. No matter what I write in the command line, I get always 2 variants of the library:

libboost_xxx-vc142-mt-s-x32-1_72.lib
libboost_xxx-vc142-mt-s-x64-1_72.lib

What I need, what my compiler tells me to produce, is:

Severity

Code

Description

Project

File

Line

Suppression State

Error

LNK1104

cannot open file 'libboost_filesystem-vc142-mt-sgd-x64-1_72.lib'

bitcoin-cli

Z:\projects\Bitcoin\bitcoin\build_msvc\bitcoin-cli\LINK

1

So I am desperately trying to build this library, without success.

I have studied and tested:
https://boostorg.github.io/build/manual/develop/index.html
https://studiofreya.com/2015/05/20/building-boost-1-58-for-32-bit-and-64-bit-architectures-with-visual-studio-2013/

By the way, there are many dead links on https://www.boost.org/doc/libs/1_72_0/more/getting_started/windows.html , especially when it comes to the reference of the build documentation. For example https://www.boost.org/build/doc/html/bbv2/overview/invocation.html is referenced as a link under "see the Boost.Build documentation" at several places, which is a dead link. But this just as a side note.

My environment is:
Windows 10, latest
MS Visual Studio 2019, latest
Boost 1.72 source from boost.org (https://www.boost.org/users/history/version_1_72_0.html)

Thanks for any help

Alex



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk