boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
6.97k stars 1.72k forks source link

Building boost with MSVC fails #921

Closed FTamas77 closed 2 months ago

FTamas77 commented 2 months ago

I am using the following setup:

Visual Studio:

Conan:

Here is my Conan profile:

[settings]
arch=x86_64
build_type=Debug
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.version=194
os=Windows

[conf]
tools.microsoft.msbuild:vs_version=17

When I try to build Boost using Conan with the command:

conan install --requires=boost/1.85.0 --build=missing -v

I encounter the following error:

boost/1.85.0: ERROR: Package 'dcbafcaa8ac5749d5d581be6c049bc3da7c6afbe' build failed
boost/1.85.0: WARN: Build folder D:\conan_data\b\boost53872d69de0c4\b\build-debug
ERROR: boost/1.85.0: Error in build() method, line 1130
        self.run(full_command)
        ConanException: Error 1 while executing

If I try conan install --requires=gtest/1.14.0 --build=missing -v

it works.

FTamas77 commented 2 months ago

It is known problem