boostorg / boostorg/build

Cannot build in VS2017 wrong path to vcvarsall.bat

Open
#621 1 comment 0 reactions 0 assignees View on GitHub
transition
Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Boost Version: 1.69
System: Win 10, 64 bit
Using: Visual Studio Build Tools 2017, v15.9.28307.423

I tried to compile the Boost library with VS2017, utilizing `x64 native Tools Command Prompt for VS2017`:

No problems with bootstrap:
```C:\Users\schmmark\Downloads\boost_1_69_0\boost_1_69_0>bootstrap.bat
Building Boost.Build engine

Bootstrapping is done. To build, run:

.\b2

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/doc/html/index.html
```

The following compilations succeed:
- `b2 address-model=64` results in `vc141` code as expected
- `b2 toolset=msvc-14.0 address-model=64` succeeds
- `b2 toolset=msvc-12.0 address-model=64` fails

The error is
`don't know how to make

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\vcvarsall.bat`

There is a discussion here:
https://groups.google.com/forum/#!topic/boost-list/sOy30ec_isU

Are changes already implemented?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.