conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
950 stars 1.73k forks source link

[package] boost/<all versions>: error: Cannot configure toolset clang-win: no 'clang-cl.exe' command found or given #18302

Closed stepanzorin closed 1 year ago

stepanzorin commented 1 year ago

Description

Hello!

I have the problem with friendship between LLVM (clang-cl) (Windows 10) and boost 1.82.0

My conanfile.py:

from conan import ConanFile
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout

required_conan_version = "^1.60.1"

class ArcaneConan(ConanFile):
    name = "arcane"
    version = ""
    description = ""
    url = ""
    author = "Stepan Zorin"
    homepage = url

    settings = "arch", "build_type", "compiler", "os"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):  # [ FORWARD SORT BY PACKAGE NAME ]
        # external packages
        self.requires("boost/1.82.0")
        self.requires("fmt/9.1.0")
        self.requires("glfw/3.3.8")
        self.requires("glm/0.9.9.8")
        self.requires("gtest/cci.20210126")
        self.requires("range-v3/0.12.0")
        self.requires("spdlog/1.11.0")
        self.requires("vulkan-loader/1.3.239.0", override=True)
        self.requires("vulkan-memory-allocator/3.0.1")

    def build(self):
        cmake = CMake(self)
        cmake.configure()
        cmake.build()

    def package(self):
        cmake = CMake(self)
        cmake.install()

    def layout(self):
        cmake_layout(self)

CLion setup

Toolchains: изображение

CMake: 1) изображение

2) изображение

When trying to troubleshoot a problem, I have often found that the issue may be caused by not specifying the path to clang.exe in the PATH environment variable. However, this path is automatically added after installing LLVM. To ensure that the changes take effect, After adding the new path to the PATH environment variable, I make sure to restart my computer to ensure that the changes are properly applied.

изображение

Help me please 🙏🏻 🙏🏻 🙏🏻

Package and Environment Details

Conan profile

My conan debug-windows-clang profile is:

[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=clang
compiler.version=16
compiler.cppstd=20
compiler.runtime=dynamic
compiler.runtime_type=Debug
compiler.runtime_version=v143
os=Windows
os_build=Windows

[conf]
tools.build:compiler_executables={"c": "clang-cl", "cpp": "clang-cl"}
tools.cmake.cmaketoolchain:generator=Ninja
tools.build:cxxflags=["-EHsc"]

[env]
CC=C:/Program Files/LLVM/bin/clang-cl.exe
CXX=C:/Program Files/LLVM/bin/clang-cl.exe
CXXFLAGS=-EHsc
LLVM_INSTALL_DIR=C:/Program Files/LLVM/bin/

default profile:

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Debug
[options]
[build_requires]
[env]

Steps to reproduce

I entered the following command in the terminall: D:\myproj> conan install . --profile:host debug-windows-clang --profile:build default --build=missing

Before that, I had tried entering the following commands: 1) D:\myproj> conan install . --profile:host debug-windows-clang --profile:build release-windows-clang --build=missing 2) D:\myproj> conan install . --profile debug-windows-clang --build=missing

However, I still encountered the same errors.

Logs

Click to expand log ``` boost/1.82.0: Applying build-requirement: b2/4.9.6 Downloading conan_sources.tgz completed [0.41k] Decompressing conan_sources.tgz completed [0.00k] boost/1.82.0: Configuring sources in C:\.conan\0ee7d6\1\src Downloading boost_1_82_0.tar.bz2 completed [118481.57k] boost/1.82.0: /1.82.0: boost/1.82.0: boost/1.82.0: Apply patch (conan): Optional flag to specify iconv from either libc of libiconv boost/1.82.0: Building your package in C:\.conan\2442c0\1 boost/1.82.0: Generator txt created conanbuildinfo.txt boost/1.82.0: Calling generate() boost/1.82.0: Aggregating env generators boost/1.82.0: Calling build() boost/1.82.0: WARN: replace_in_file didn't find pattern '/* thread_local */' in 'C:\.conan\0ee7d6\1\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.82.0: WARN: replace_in_file didn't find pattern '/* static __thread */' in 'C:\.conan\0ee7d6\1\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.82.0: WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in 'C:\.conan\0ee7d6\1\src\tools\build\src\tools\gcc.jam' file. boost/1.82.0: WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in 'C:\.conan\0ee7d6\1\src\tools\build\src\tools\gcc.jam' file. boost/1.82.0: WARN: Patching user-config.jam boost/1.82.0: WARN: using zlib : 1.2.13 : "C:/Users/Admin/.conan/data/zlib/1.2.13/_/_/package/222e706e0835f452ea0d3460bc0d789f39ce3388/include" "C:/Users/Admin/.conan/data/zlib/1.2.13/_/_/package/222e706e0835f452ea0d3460bc0d789f39ce3388/lib" zlib ; using bzip2 : 1.0.8 : "C:/Users/Admin/.conan/data/bzip2/1.0.8/_/_/package/4796eedd7ee99807d58a32e2202fb70edaa04a31/include" "C:/Users/Admin/.conan/data/bzip2/1.0.8/_/_/package/4796eedd7ee99807d58a32e2202fb70edaa04a31/lib" bz2 ; using "clang-win" : : "clang-cl" : "-EHsc" ; boost/1.82.0: WARN: b2 -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=C:\.conan\0ee7d6\1\src\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-ic onv threading=multi visibility=hidden link=static variant=debug --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-no wide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-url --with-wave toolset=clang-win cxxflags=-std=c++20 pch=on linkflags="-stdlib=None" cxxflags="-fPIC -stdlib=None" install --prefix=C:\ .conan\f6cfbc\1 -j8 --abbreviate-paths -d0 --debug-configuration --build-dir="C:\.conan\2442c0\1\build-debug" ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.6.4 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' notice: found boost-build.jam at C:/.conan/0ee7d6/1/src/boost-build.jam notice: loading B2 from C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel/bootstrap.jam notice: Searching 'C:\Users\Admin' 'C:\Users\Admin' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/util' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package /ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/tools' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/contrib' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/ package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in 'C:\Users\Admin' 'C:\Users\Admin' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/util' 'C:/User s/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/tools' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/contrib' ' C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/.'. notice: Loading explicitly specified user configuration file: C:\.conan\0ee7d6\1\src\tools\build\user-config.jam notice: Searching 'C:\.conan\0ee7d6\1\src\tools\build' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from 'C:/.conan/0ee7d6/1/src/tools/build'. notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: [msvc-cfg] msvc-14.3 detected, command: 'C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe' warning: toolset clang-win initialization: warning: can not find user-provided command 'clang-cl' warning: initialized from C:\.conan\0ee7d6\1\src\tools\build\user-config.jam:5 C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/tools\clang-win.jam:76: in clang-win.init from module clang-win error: Cannot configure toolset clang-win: no 'clang-cl.exe' command found or given C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build\toolset.jam:44: in toolset.using from module toolset C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build\project.jam:1134: in using from module project-rules C:\.conan\0ee7d6\1\src\tools\build\user-config.jam:5: in modules.load from module user-config C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2\build-system.jam:255: in load-config from module build-system C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2\build-system.jam:449: in load-configuration-files from module build-system C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2\build-system.jam:607: in load from module build-system C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel\modules.jam:294: in import from module modules C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel/bootstrap.jam:135: in module scope from module boost/1.82.0: boost/1.82.0: ERROR: Package '9a57e8ba8ebbdb2cfe3fb92e630493275d25c9a7' build failed boost/1.82.0: WARN: Build folder C:\.conan\2442c0\1\build-debug ERROR: boost/1.82.0: Error in build() method, line 887 self.run(full_command) ConanException: Error 1 while executing b2 -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=C:\.conan\0ee7d6\1\src\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.l ocale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=debug --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --wi th-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-url --with-wave toolset=clang-win cxxflags=-std=c++20 pch=on linkflags="-stdlib=None" cxxflags="-fPIC -stdli b=None" install --prefix=C:\.conan\f6cfbc\1 -j8 --abbreviate-paths -d0 --debug-configuration --build-dir="C:\.conan\2442c0\1\build-debug" ```
stepanzorin commented 1 year ago

I changed the Boost recipe a bit (conanfile.py in export directory) and have a new problem:

Logs

Click to expand log ``` WARN: spdlog/1.11.0: requirement fmt/10.0.0 overridden by arcane/1.0.1 to fmt/9.1.0 boost/1.82.0: WARN: Package binary is corrupted, removing: 9a57e8ba8ebbdb2cfe3fb92e630493275d25c9a7 conanfile.py (arcane/1.0.1): Installing package Requirements boost/1.82.0 from 'conancenter' - Cache bzip2/1.0.8 from 'conancenter' - Cache fmt/9.1.0 from 'conancenter' - Cache glfw/3.3.8 from 'conancenter' - Cache glm/0.9.9.8 from 'conancenter' - Cache gtest/cci.20210126 from 'conancenter' - Cache opengl/system from 'conancenter' - Cache range-v3/0.12.0 from 'conancenter' - Cache spdlog/1.11.0 from 'conancenter' - Cache vulkan-headers/1.3.243.0 from 'conancenter' - Cache vulkan-memory-allocator/3.0.1 from 'conancenter' - Cache zlib/1.2.13 from 'conancenter' - Cache Packages boost/1.82.0:9a57e8ba8ebbdb2cfe3fb92e630493275d25c9a7 - Build bzip2/1.0.8:4796eedd7ee99807d58a32e2202fb70edaa04a31 - Cache fmt/9.1.0:6bbe993022eeda5ec534167c6113eb6bf6538838 - Cache glfw/3.3.8:e500a41cc57f0392b76ef3ee18f04e319176947e - Build glm/0.9.9.8:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache gtest/cci.20210126:e377d0f099a152f48fd936d7c86e01f9e7280783 - Cache opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache range-v3/0.12.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache spdlog/1.11.0:c95e021c935b9399f59885a4776f9b7cd0418f28 - Build vulkan-headers/1.3.243.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache vulkan-memory-allocator/3.0.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache zlib/1.2.13:222e706e0835f452ea0d3460bc0d789f39ce3388 - Cache Build requirements b2/4.9.6 from 'conancenter' - Cache Build requirements packages b2/4.9.6:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache Installing (downloading, building) binaries... b2/4.9.6: Already installed! bzip2/1.0.8: Already installed! fmt/9.1.0: Already installed! glm/0.9.9.8: Already installed! gtest/cci.20210126: Already installed! opengl/system: Already installed! range-v3/0.12.0: Already installed! vulkan-headers/1.3.243.0: Already installed! zlib/1.2.13: Already installed! boost/1.82.0: Applying build-requirement: b2/4.9.6 boost/1.82.0: WARN: Build folder is dirty, removing it: C:\.conan\2442c0\1 boost/1.82.0: Building your package in C:\.conan\2442c0\1 boost/1.82.0: Generator txt created conanbuildinfo.txt boost/1.82.0: Calling generate() boost/1.82.0: Aggregating env generators boost/1.82.0: Calling build() boost/1.82.0: WARN: replace_in_file didn't find pattern '/* thread_local */' in 'C:\.conan\0ee7d6\1\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.82.0: WARN: replace_in_file didn't find pattern '/* static __thread */' in 'C:\.conan\0ee7d6\1\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.82.0: WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in 'C:\.conan\0ee7d6\1\src\tools\build\src\tools\gcc.jam' file. boost/1.82.0: WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in 'C:\.conan\0ee7d6\1\src\tools\build\src\tools\gcc.jam' file. boost/1.82.0: WARN: replace_in_file didn't find pattern ' @numa' in 'C:\.conan\0ee7d6\1\src\libs\fiber\build\Jamfile.v2' file. boost/1.82.0: WARN: Patching user-config.jam boost/1.82.0: WARN: using zlib : 1.2.13 : "C:/Users/Admin/.conan/data/zlib/1.2.13/_/_/package/222e706e0835f452ea0d3460bc0d789f39ce3388/include" "C:/Users/Admin/.conan/data/zlib/1.2.13/_/_/package/222e706e0835f452ea0d3460bc0d789f39ce3388/lib" zlib ; using bzip2 : 1.0.8 : "C:/Users/Admin/.conan/data/bzip2/1.0.8/_/_/package/4796eedd7ee99807d58a32e2202fb70edaa04a31/include" "C:/Users/Admin/.conan/data/bzip2/1.0.8/_/_/package/4796eedd7ee99807d58a32e2202fb70edaa04a31/lib" bz2 ; using "clang-win" : : "C:/Program Files/LLVM/bin/clang-cl.EXE" : "-EHsc" ; boost/1.82.0: WARN: b2 -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=C:\.conan\0ee7d6\1\src\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --di sable-iconv threading=multi visibility=hidden link=static variant=debug --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --wit h-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-url --with-wave toolset=clang-win cxxflags=-std=c++20 pch=on linkflags="-stdlib=None" cxxflags="-fPIC -stdlib=No ne" install --prefix=C:\.conan\f6cfbc\1 -j8 --abbreviate-paths -d0 --debug-configuration --build-dir="C:\.conan\2442c0\1\build-debug" ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.6.4 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' notice: found boost-build.jam at C:/.conan/0ee7d6/1/src/boost-build.jam notice: loading B2 from C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel/bootstrap.jam notice: Searching 'C:\Users\Admin' 'C:\Users\Admin' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/util' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_ /package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/tools' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/contrib' 'C:/Users/Admin/.conan/da ta/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in 'C:\Users\Admin' 'C:\Users\Admin' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/kernel' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/util' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/build' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/tools' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bi n/.b2/contrib' 'C:/Users/Admin/.conan/data/b2/4.9.6/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/bin/.b2/.'. notice: Loading explicitly specified user configuration file: C:\.conan\0ee7d6\1\src\tools\build\user-config.jam notice: Searching 'C:\.conan\0ee7d6\1\src\tools\build' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from 'C:/.conan/0ee7d6/1/src/tools/build'. notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: [msvc-cfg] msvc-14.3 detected, command: 'C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe' notice: [clang-win] using compiler '"C:/Program Files/LLVM/bin/clang-cl.EXE"', version '16.0.0', target 'x86_64', default address-model=64 notice: will use 'C:/Program Files/LLVM/bin/clang-cl.EXE' for clang-win, condition clang-win-16.0.0 notice: [clang-win] x86-32: using linker '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\link.exe"' notice: [clang-win] x86-32: using assembler '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\ml.exe"' notice: [clang-win] x86-32: using archiver '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x86\link.exe" /lib' notice: [clang-win] x86-32: using manifest-tool 'mt.exe' notice: [clang-win] x86-32: using resource-compiler 'rc.exe' notice: [clang-win] x86-32: using mc-compiler 'mc.exe' notice: [clang-win] x86-32: using idl-compiler 'midl.exe' notice: [clang-win] arm-32: using linker '"link.exe"' notice: [clang-win] arm-32: using assembler 'armasm.exe' notice: [clang-win] arm-32: using archiver '"link.exe" /lib' notice: [clang-win] arm-32: using manifest-tool 'mt.exe' notice: [clang-win] arm-32: using resource-compiler 'rc.exe' notice: [clang-win] arm-32: using mc-compiler 'mc.exe' notice: [clang-win] arm-32: using idl-compiler 'midl.exe' notice: [clang-win] x86-64: using linker '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\link.exe"' notice: [clang-win] x86-64: using assembler '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\ml64.exe"' notice: [clang-win] x86-64: using archiver '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\link.exe" /lib' notice: [clang-win] x86-64: using manifest-tool 'mt.exe' notice: [clang-win] x86-64: using resource-compiler 'rc.exe' notice: [clang-win] x86-64: using mc-compiler 'mc.exe' notice: [clang-win] x86-64: using idl-compiler 'midl.exe' notice: [clang-win] arm-64: using linker '"link.exe"' notice: [clang-win] arm-64: using assembler 'armasm64.exe' notice: [clang-win] arm-64: using archiver '"link.exe" /lib' notice: [clang-win] arm-64: using manifest-tool 'mt.exe' notice: [clang-win] arm-64: using resource-compiler 'rc.exe' notice: [clang-win] arm-64: using mc-compiler 'mc.exe' notice: [clang-win] arm-64: using idl-compiler 'midl.exe' notice: [zlib] zlib is already configured notice: [bzip2] bzip is already configured notice: iostreams: not using lzma compression notice: iostreams: not using zstd compression notice: [python-cfg] Configuring python... notice: [python-cfg] Checking interpreter command "python"... notice: [python-cfg] running command 'DIR /-C /A:S "D:\SM\python environment\Scripts\python.exe" 2>&1' notice: [python-cfg] running command 'python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "python" notice: [python-cfg] include path: "D:\SM\python environment\Include" notice: [python-cfg] library path: "D:\SM\python environment\libs" notice: [python-cfg] DLL search path: "D:\SM\python environment" notice: [python-cfg] Checking for NumPy... notice: [python-cfg] running command 'python -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"' notice: [python-cfg] NumPy disabled. Reason: notice: [python-cfg] python -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())" aborted with notice: [python-cfg] Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' Performing configuration checks - default address-model : 64-bit [1] - default architecture : x86 [1] - compiler supports SSE2 : yes [2] - compiler supports SSE4.1 : yes [2] - has synchronization.lib : yes [2] - has std::atomic_ref : no [2] - has statx : no [2] - has statx syscall : no [2] - has BCrypt API : yes [2] - has init_priority attribute : yes [2] - has stat::st_blksize : no [2] - has stat::st_mtim : no [2] - has stat::st_mtimensec : no [2] - has stat::st_mtimespec : no [2] - has stat::st_birthtim : no [2] - has stat::st_birthtimensec : no [2] - has stat::st_birthtimespec : no [2] - has fdopendir(O_NOFOLLOW) : no [2] - has POSIX *at APIs : no [2] - cxx11_auto_declarations : yes [2] - cxx11_constexpr : yes [2] - cxx11_defaulted_functions : yes [2] - cxx11_final : yes [2] - cxx11_hdr_mutex : yes [2] - cxx11_hdr_tuple : yes [2] - cxx11_lambdas : yes [2] - cxx11_noexcept : yes [2] - cxx11_nullptr : yes [2] - cxx11_rvalue_references : yes [2] - cxx11_template_aliases : yes [2] - cxx11_thread_local : yes [2] - cxx11_variadic_templates : yes [2] - has_icu builds : no [2] - zlib : yes [3] - bzip2 : yes [3] - cxx11_decltype : yes [2] - cxx11_basic_alignas : yes [2] - cxx11_defaulted_moves : yes [2] - cxx11_hdr_functional : yes [2] - cxx11_hdr_type_traits : yes [2] - cxx11_override : yes [2] - cxx11_range_based_for : yes [2] - cxx11_scoped_enums : yes [2] - cxx11_smart_ptr : yes [2] - cxx11_static_assert : yes [2] - native atomic int32 supported : yes [2] - has message compiler : yes [2] - native syslog supported : no [2] - pthread supports robust mutexes : no [2] - compiler supports SSSE3 : yes [2] - compiler supports AVX2 : yes [2] - gcc visibility : no [2] - sfinae_expr : yes [2] - cxx11_unified_initialization_syntax : yes [2] - cxx11_hdr_initializer_list : yes [2] - cxx11_hdr_chrono : yes [2] - cxx11_numeric_limits : yes [2] - cxx11_hdr_array : yes [2] - cxx11_hdr_atomic : yes [2] - cxx11_allocator : yes [2] - cxx11_explicit_conversion_operators : yes [2] - long double support : yes [2] - std::fstream is moveable and swappable : yes [2] - Has Large File Support : yes [2] - Has attribute init_priority : yes [2] - libbacktrace builds : no [2] - libbacktrace builds : no [4] - addr2line builds : no [2] - addr2line builds : no [4] - WinDbg builds : yes [2] - WinDbg builds : yes [4] - WinDbgCached builds : yes [2] - BOOST_COMP_GNUC >= 4.3.0 : no [2] - cxx11_hdr_thread : yes [2] - cxx11_hdr_regex : yes [2] [1] clng-16.0. [2] clng-win-16.0./dbg/bst.l-off/bst.l-off/lnk-sttc/nm-on/pythn-3.1/thrdp-wn32/thrd-mlt/vsblt-hdn [3] lnk-sttc [4] clng-win-16.0./dbg/bst.l-off/bst.l-off/bld-no/lnk-sttc/nm-on/pythn-3.1/thrdp-wn32/thrd-mlt/vsblt-hdn Component configuration: - atomic : building - chrono : building - container : building - context : building - contract : building - coroutine : building - date_time : building - exception : building - fiber : building - filesystem : building - graph : building - graph_parallel : not building - headers : not building - iostreams : building - json : building - locale : building - log : building - math : building - mpi : not building - nowide : building - program_options : building - python : not building - random : building - regex : building - serialization : building - stacktrace : building - system : building - test : building - thread : building - timer : building - type_erasure : building - url : building - wave : building boost/1.82.0: Package '9a57e8ba8ebbdb2cfe3fb92e630493275d25c9a7' built boost/1.82.0: Build folder C:\.conan\2442c0\1\build-debug boost/1.82.0: Generated conaninfo.txt boost/1.82.0: Generated conanbuildinfo.txt boost/1.82.0: Generating the package boost/1.82.0: Package folder C:\.conan\f6cfbc\1 boost/1.82.0: Calling package() boost/1.82.0: Copied 1 '.txt' file: LICENSE_1_0.txt boost/1.82.0 package(): Packaged 15141 '.hpp' files boost/1.82.0 package(): Packaged 148 '.h' files boost/1.82.0 package(): Packaged 365 '.ipp' files boost/1.82.0 package(): Packaged 17 files boost/1.82.0 package(): Packaged 2 '.inc' files: cpp_re.inc, strict_cpp_re.inc boost/1.82.0 package(): Packaged 41 '.lib' files boost/1.82.0 package(): Packaged 1 '.txt' file: LICENSE_1_0.txt boost/1.82.0: Package '9a57e8ba8ebbdb2cfe3fb92e630493275d25c9a7' created boost/1.82.0: Created package revision b890396e660c8bd4472f6a460578491c boost/1.82.0: Disabled magic autolinking (smart and magic decisions) boost/1.82.0: WARN: Boost component 'atomic' is missing libraries. Try building boost with '-o boost:without_atomic'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'chrono' is missing libraries. Try building boost with '-o boost:without_chrono'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'container' is missing libraries. Try building boost with '-o boost:without_container'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'context' is missing libraries. Try building boost with '-o boost:without_context'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'contract' is missing libraries. Try building boost with '-o boost:without_contract'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'coroutine' is missing libraries. Try building boost with '-o boost:without_coroutine'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'date_time' is missing libraries. Try building boost with '-o boost:without_date_time'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'exception' is missing libraries. Try building boost with '-o boost:without_exception'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'fiber' is missing libraries. Try building boost with '-o boost:without_fiber'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'fiber_numa' is missing libraries. Try building boost with '-o boost:without_fiber_numa'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'filesystem' is missing libraries. Try building boost with '-o boost:without_filesystem'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'graph' is missing libraries. Try building boost with '-o boost:without_graph'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'iostreams' is missing libraries. Try building boost with '-o boost:without_iostreams'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'json' is missing libraries. Try building boost with '-o boost:without_json'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'locale' is missing libraries. Try building boost with '-o boost:without_locale'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'log' is missing libraries. Try building boost with '-o boost:without_log'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'log_setup' is missing libraries. Try building boost with '-o boost:without_log_setup'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_c99' is missing libraries. Try building boost with '-o boost:without_math_c99'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_c99f' is missing libraries. Try building boost with '-o boost:without_math_c99f'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_c99l' is missing libraries. Try building boost with '-o boost:without_math_c99l'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_tr1' is missing libraries. Try building boost with '-o boost:without_math_tr1'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_tr1f' is missing libraries. Try building boost with '-o boost:without_math_tr1f'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'math_tr1l' is missing libraries. Try building boost with '-o boost:without_math_tr1l'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'nowide' is missing libraries. Try building boost with '-o boost:without_nowide'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'prg_exec_monitor' is missing libraries. Try building boost with '-o boost:without_prg_exec_monitor'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'program_options' is missing libraries. Try building boost with '-o boost:without_program_options'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'random' is missing libraries. Try building boost with '-o boost:without_random'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'regex' is missing libraries. Try building boost with '-o boost:without_regex'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'serialization' is missing libraries. Try building boost with '-o boost:without_serialization'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'stacktrace_noop' is missing libraries. Try building boost with '-o boost:without_stacktrace_noop'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'stacktrace_windbg' is missing libraries. Try building boost with '-o boost:without_stacktrace_windbg'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'stacktrace_windbg_cached' is missing libraries. Try building boost with '-o boost:without_stacktrace_windbg_cached'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'system' is missing libraries. Try building boost with '-o boost:without_system'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'test_exec_monitor' is missing libraries. Try building boost with '-o boost:without_test_exec_monitor'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'thread' is missing libraries. Try building boost with '-o boost:without_thread'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'timer' is missing libraries. Try building boost with '-o boost:without_timer'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'type_erasure' is missing libraries. Try building boost with '-o boost:without_type_erasure'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'unit_test_framework' is missing libraries. Try building boost with '-o boost:without_unit_test_framework'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'url' is missing libraries. Try building boost with '-o boost:without_url'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'wave' is missing libraries. Try building boost with '-o boost:without_wave'. (Option is not guaranteed to exist) boost/1.82.0: WARN: Boost component 'wserialization' is missing libraries. Try building boost with '-o boost:without_wserialization'. (Option is not guaranteed to exist) ERROR: boost/1.82.0: Error in package_info() method, line 1695 raise ConanException(f"These libraries were built, but were not used in any boost module: {non_used}") ConanException: These libraries were built, but were not used in any boost module: {'libboost_url', 'libboost_math_tr1f', 'libboost_math_c99', 'libboost_stacktrace_windbg', 'libboost_program_options', 'libboost_date_time', 'libboost_contract', 'libboost_math_c99f', 'libboost_wave', 'libboost_wserializ ation', 'libboost_container', 'libboost_type_erasure', 'libboost_iostreams', 'libboost_log_setup', 'libboost_nowide', 'libboost_stacktrace_noop', 'libboost_locale', 'libboost_filesystem', 'libboost_exception', 'libboost_prg_exec_monitor', 'libboost_coroutine', 'libboost_timer', 'libboost_thread', 'libboost_ch rono', 'libboost_system', 'libboost_graph', 'libboost_atomic', 'libboost_json', 'libboost_regex', 'libboost_math_c99l', 'libboost_context', 'libboost_math_tr1', 'libboost_test_exec_monitor', 'libboost_fiber', 'libboost_log', 'libboost_random', 'libboost_unit_test_framework', 'libboost_fiber_numa', 'libboost_m ath_tr1l', 'libboost_stacktrace_windbg_cached', 'libboost_serialization'} ```

If I fix the problem, I'll let you know. I guess why the such problem exists. I will write when I get back in 8-9 hours.

Also I'd like to participate in Pull Request.

stepanzorin commented 1 year ago

Resolved