******************************************************************************** conan install cppdap/cci.20230526@#de42143ee10c5d71f20a31f6cffa67c0 --build=cppdap -pr C:\J\w\prod\BuildSingleReference\246367\f2b7efd2-2107-44df-afa4-feb5fdb4b8c3/profile_windows_16_md_vs_release_64.cppdap-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=MD compiler.version=16 os=Windows [options] cppdap:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True nlohmann_json/3.11.2: Not found in local cache, looking in remotes... nlohmann_json/3.11.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz nlohmann_json/3.11.2: Downloaded recipe revision a35423bb6e1eb8f931423557e282c7ed cppdap/cci.20230526: Forced build from source Installing package: cppdap/cci.20230526 Requirements cppdap/cci.20230526 from local cache - Cache nlohmann_json/3.11.2 from 'conan-center' - Downloaded Packages cppdap/cci.20230526:4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6 - Build nlohmann_json/3.11.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... nlohmann_json/3.11.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz nlohmann_json/3.11.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 nlohmann_json/3.11.2: Downloaded package revision 7af677b9629093b9161d0f67a4cc72c1 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppdap/cci.20230526: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\source\src cppdap/cci.20230526: [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 cppdap/cci.20230526: Copying sources to build folder cppdap/cci.20230526: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6 cppdap/cci.20230526: Generator txt created conanbuildinfo.txt cppdap/cci.20230526: Calling generate() cppdap/cci.20230526: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' cppdap/cci.20230526: 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\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' cppdap/cci.20230526: 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 cppdap/cci.20230526: Calling build() cppdap/cci.20230526: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/build/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/package/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/build/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/package/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/build/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! cppdap/cci.20230526: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/build/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6/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:16 (project) cppdap/cci.20230526: 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 cppdap/cci.20230526: 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 cppdap/cci.20230526: ERROR: Package '4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6' build failed cppdap/cci.20230526: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6\build ERROR: cppdap/cci.20230526: Error in build() method, line 78 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/build/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppdap/cci.20230526/_/_/package/4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppdap\cci.20230526\_\_\build\4e31d59a6f4693d0c9cc222061a7f4ac924a8fe6\src"