******************************************************************************** conan install log4cplus/2.0.4@#59e0baf5c8c21b323ea0b4c834ed1f1f --build=log4cplus -pr C:\J\w\prod\BuildSingleReference@7\165652\6c7deae5-e31e-43dc-a673-cb2121a6f167/profile_windows_16_md_vs_release_64.log4cplus-shared-True.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@7\.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@7\.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] log4cplus:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True log4cplus/2.0.4: Forced build from source Installing package: log4cplus/2.0.4 Requirements log4cplus/2.0.4 from local cache - Cache Packages log4cplus/2.0.4:7204e7ee16ce3434c10d668996e8d9dc30d533b6 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK log4cplus/2.0.4: Configuring sources in C:\J\w\prod\BuildSingleReference@7/s\387e56\1\src log4cplus/2.0.4: [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 log4cplus/2.0.4: Copying sources to build folder log4cplus/2.0.4: Building your package in C:\J\w\prod\BuildSingleReference@7/s\9c4890\1 log4cplus/2.0.4: Generator txt created conanbuildinfo.txt log4cplus/2.0.4: Calling generate() log4cplus/2.0.4: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' log4cplus/2.0.4: 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@7\s\9c4890\1\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' log4cplus/2.0.4: 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 log4cplus/2.0.4: Calling build() log4cplus/2.0.4: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@7/s/9c4890/1/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@7/s/edcc9e/1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@7/s\9c4890\1\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@7/s/9c4890/1/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@7/s/edcc9e/1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@7/s\9c4890\1\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@7/s/9c4890/1/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! log4cplus/2.0.4: CMake Error at C:/J/w/prod/BuildSingleReference@7/s/9c4890/1/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:14 (project) log4cplus/2.0.4: 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 log4cplus/2.0.4: 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 log4cplus/2.0.4: ERROR: Package '7204e7ee16ce3434c10d668996e8d9dc30d533b6' build failed log4cplus/2.0.4: WARN: Build folder C:\J\w\prod\BuildSingleReference@7/s\9c4890\1\build ERROR: log4cplus/2.0.4: Error in build() method, line 99 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@7/s/9c4890/1/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@7/s/edcc9e/1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@7/s\9c4890\1\src"