Boost logo

Boost :

Subject: [boost] MSVC 2019 and 1.70 beta
From: Olaf van der Spek (ml_at_[hidden])
Date: 2019-03-14 08:25:00


Hi,

Is 2019 not properly supported yet?

> Building Boost.Build engine
> 'cl' is not recognized as an internal or external command,
> operable program or batch file.

> Failed to build Boost.Build engine.
> Please consult bootstrap.log for further diagnostics.

>From a dev prompt it doesn't appear to work either:

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.0.0-pre.4.2
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************

C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>cd /vc

C:\vc>cd boost_1_70_0

C:\vc\boost_1_70_0>bootstrap.bat
Building Boost.Build engine

Generating Boost.Build configuration in project-config.jam for msvc...

Bootstrapping is done. To build, run:

    .\b2

    To generate header files, run:

    .\b2 headers

To adjust configuration, edit 'project-config.jam'.
Further information:

    - Command line help:
    .\b2 --help

    - Getting started guide:
    http://boost.org/more/getting_started/windows.html

    - Boost.Build documentation:
    http://www.boost.org/build/

C:\vc\boost_1_70_0>b2

warning: Did not find command for MSVC toolset. If you have Visual
Studio 2017 installed you will need to specify the full path to the
command, set VS150COMNTOOLS for your installation, or build from the
'Visual Studio Command Prompt for VS 2017'.

Performing configuration checks

    - default address-model : none
    - default architecture : none

Building the Boost C++ Libraries.

error: No best alternative for libs/context/build/asm_sources
    next alternative: required properties: <abi>aapcs
<address-model>32 <architecture>arm <binary-format>elf
<threading>multi <toolset>clang
        not matched
    next alternative: required properties: <abi>aapcs
<address-model>32 <architecture>arm <binary-format>elf
<threading>multi <toolset>gcc
        not matched

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk