[boost] boost/1.70: MinGW build tries to use MSVC
See original GitHub issuePackage and Environment Details
- Package Name/Version: boost/1.70
- Operating System+version: Windows 10 Version 1903
- Compiler+version: MinGW 8.1.0
- Conan version: conan 1.19.1
- Python version: Python 3.7.4
Conan profile
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++11
build_type=Release
compiler.exception=seh
compiler.threads=posix
[options]
[build_requires]
*: mingw_installer/1.0@conan/stable, msys2_installer/latest@bincrafters/stable, cmake_installer/3.14.5@conan/stable
[env]
Steps to reproduce
Using MinGW I am no longer able to build. It selects gcc
as the bootstrap compiler, but somehow falls back to msvc
. This was working with an earlier recipe or boost version. I never had Visual Studio installed on this system.
I am using the following configuration in the conanfile.txt
:
boost:bzip2 = False
boost:namespace = boost_ns
boost:namespace_alias = True
boost:magic_autolink = True
Logs
Click to expand log
boost/1.70.0@local/testing: Calling build()
boost/1.70.0@local/testing: bootstrap.bat gcc
Bootstrapping the build engine
Bootstrapping is done. To build, run:
.\b2 --prefix=DIR install
boost/1.70.0@local/testing: WARN: C:\.conan\8011029\1\boost_1_70_0\tools\build\b2.exe -j8 --abbreviate-paths -d2
warning: No toolsets are configured.
warning: Configuring default toolset "msvc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
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'.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Build Boost 1_70_0 to MS V Studio 2019 C++ - Stack Overflow
1.- Run bootstrap from VS prompt. · 2.- In C:\boost_some_ver\project-config.jam , edit the line using msvc ; and change to using msvc :...
Read more >Boost Getting Started on Windows - 1.70.0
To build the examples in this guide, you can use an Integrated Development Environment (IDE) like Visual Studio, or you can issue commands...
Read more >Boost.Build V2 User Manual
If you're trying to build a project which uses Boost. ... using msvc : : echo Compiling && foo/bar/baz/cl ; will work.
Read more >How to build Boost 1.60 with Visual Studio 2015
There are a couple ways to use Boost 1.60 with Visual Studio 2013 or 2015, here are two ways. Property pages and Property...
Read more >Boost Getting Started on Windows
A note to Cygwin and MinGW users. If you plan to use your tools from the Windows command prompt, you're in the right...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@firewave I see now, if using
namespace
option, build ofbcp
doesn’t utilize the toolsetThanks for reporting @firewave. Glad it finally worked! 😄