******************************************************************************** conan install gtsam/4.0.2@#d9bcc1638897cf80a8211b30e6f11780 --build=gtsam -pr C:\J\w\prod\BuildSingleReference\158347\30c6a350-44a8-4e74-ab0f-ac57eceff031/profile_windows_15_mtd_vs_debug_64.gtsam-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=15 os=Windows [options] gtsam:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True boost/1.81.0: Not found in local cache, looking in remotes... boost/1.81.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz boost/1.81.0: Downloaded recipe revision 0aca3d1f3a8d8b2f46886c7c26da599d zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008 eigen/3.4.0: Not found in local cache, looking in remotes... eigen/3.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz eigen/3.4.0: Downloaded recipe revision 1bc43ded5116678f202a75aa887ef142 gtsam/4.0.2: Forced build from source Installing package: gtsam/4.0.2 Requirements boost/1.81.0 from 'conan-center' - Downloaded bzip2/1.0.8 from 'conan-center' - Downloaded eigen/3.4.0 from 'conan-center' - Downloaded gtsam/4.0.2 from local cache - Cache zlib/1.2.13 from 'conan-center' - Downloaded Packages boost/1.81.0:357d96546843dc63f72062c3ab187e7dc17c697d - Download bzip2/1.0.8:dac385276edd3ed845f4c6e5865148478cd26814 - Download eigen/3.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download gtsam/4.0.2:144aefcc4ea948890c2c233d76e5c5ae7b52d18a - Build zlib/1.2.13:963bb116781855de98dbb23aaac41621e5d312d8 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package dac385276edd3ed845f4c6e5865148478cd26814 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed dac385276edd3ed845f4c6e5865148478cd26814 bzip2/1.0.8: Downloaded package revision 40632887ac2f9323e3d7dfbb9e40f3b9 eigen/3.4.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz eigen/3.4.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 eigen/3.4.0: Downloaded package revision fffa75535100e6726f7e430610981cb2 zlib/1.2.13: Retrieving package 963bb116781855de98dbb23aaac41621e5d312d8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 963bb116781855de98dbb23aaac41621e5d312d8 zlib/1.2.13: Downloaded package revision 6a5d5f1353cf1678360d2682d899dbb3 boost/1.81.0: Retrieving package 357d96546843dc63f72062c3ab187e7dc17c697d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz boost/1.81.0: Package installed 357d96546843dc63f72062c3ab187e7dc17c697d boost/1.81.0: Downloaded package revision 73f4dc200eff6a31424b57704ca52c44 boost/1.81.0: Disabled magic autolinking (smart and magic decisions) [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK gtsam/4.0.2: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\source\src gtsam/4.0.2: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK gtsam/4.0.2: Copying sources to build folder gtsam/4.0.2: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a gtsam/4.0.2: Generator txt created conanbuildinfo.txt gtsam/4.0.2: Calling generate() gtsam/4.0.2: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' gtsam/4.0.2: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' gtsam/4.0.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK gtsam/4.0.2: Calling build() gtsam/4.0.2: Apply patch (conan): Use boost targets gtsam/4.0.2: Apply patch (conan): Use Eigen include variable from CMakeDeps gtsam/4.0.2: Apply patch (conan): Relocatable shared libs on Apple OS gtsam/4.0.2: CMake command: cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/144aefcc4ea948890c2c233d76e5c5ae7b52d18a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/144aefcc4ea948890c2c233d76e5c5ae7b52d18a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/144aefcc4ea948890c2c233d76e5c5ae7b52d18a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/144aefcc4ea948890c2c233d76e5c5ae7b52d18a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/144aefcc4ea948890c2c233d76e5c5ae7b52d18a/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! gtsam/4.0.2: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/144aefcc4ea948890c2c233d76e5c5ae7b52d18a/build/generators/conan_toolchain.cmake:31 (message): The CMake policy CMP0091 must be NEW, but is '' Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:1 (project) boost/1.81.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior gtsam/4.0.2: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior gtsam/4.0.2: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior gtsam/4.0.2: ERROR: Package '144aefcc4ea948890c2c233d76e5c5ae7b52d18a' build failed gtsam/4.0.2: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a\build ERROR: gtsam/4.0.2: Error in build() method, line 169 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/144aefcc4ea948890c2c233d76e5c5ae7b52d18a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/144aefcc4ea948890c2c233d76e5c5ae7b52d18a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\144aefcc4ea948890c2c233d76e5c5ae7b52d18a\src"