******************************************************************************** conan install gtsam/4.0.2@#d9bcc1638897cf80a8211b30e6f11780 --build=gtsam -pr C:\J\w\prod\BuildSingleReference\158347\aa783f71-57f1-4834-bfea-2f2b27615e0b/profile_windows_16_mt_vs_release_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=Release compiler=Visual Studio compiler.runtime=MT compiler.version=16 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:810c4ac316afc520c7191658c8b75a53fc216cd8 - Download bzip2/1.0.8:8feb221a01dcb7f80d1d66f9676d4e44215f5e08 - Download eigen/3.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download gtsam/4.0.2:b84e5231e4bd678e71a0554c44d1a1687cd2091b - Build zlib/1.2.13:a79a557254fabcb77849dd623fed97c9c5ab7651 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 8feb221a01dcb7f80d1d66f9676d4e44215f5e08 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 8feb221a01dcb7f80d1d66f9676d4e44215f5e08 bzip2/1.0.8: Downloaded package revision 0659f259bed6d6c326d632bed547d038 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 a79a557254fabcb77849dd623fed97c9c5ab7651 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed a79a557254fabcb77849dd623fed97c9c5ab7651 zlib/1.2.13: Downloaded package revision 171d14ee762f2308d5ec848f149c326b boost/1.81.0: Retrieving package 810c4ac316afc520c7191658c8b75a53fc216cd8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz boost/1.81.0: Package installed 810c4ac316afc520c7191658c8b75a53fc216cd8 boost/1.81.0: Downloaded package revision 59b6da666c12910057cd7e984bce59ca 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\b84e5231e4bd678e71a0554c44d1a1687cd2091b 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 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\b84e5231e4bd678e71a0554c44d1a1687cd2091b\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 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/b84e5231e4bd678e71a0554c44d1a1687cd2091b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/b84e5231e4bd678e71a0554c44d1a1687cd2091b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\b84e5231e4bd678e71a0554c44d1a1687cd2091b\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/b84e5231e4bd678e71a0554c44d1a1687cd2091b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/b84e5231e4bd678e71a0554c44d1a1687cd2091b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\b84e5231e4bd678e71a0554c44d1a1687cd2091b\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/b84e5231e4bd678e71a0554c44d1a1687cd2091b/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/b84e5231e4bd678e71a0554c44d1a1687cd2091b/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 'b84e5231e4bd678e71a0554c44d1a1687cd2091b' build failed gtsam/4.0.2: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\b84e5231e4bd678e71a0554c44d1a1687cd2091b\build ERROR: gtsam/4.0.2: Error in build() method, line 169 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/build/b84e5231e4bd678e71a0554c44d1a1687cd2091b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/gtsam/4.0.2/_/_/package/b84e5231e4bd678e71a0554c44d1a1687cd2091b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\gtsam\4.0.2\_\_\build\b84e5231e4bd678e71a0554c44d1a1687cd2091b\src"