******************************************************************************** conan install expat/2.2.7@#a18cd6fddfd2540cd898cd28644b3888 --build=expat -pr C:\J\w\prod\BuildSingleReference\61371\f501c491-b130-4c91-aa11-95351b9f404c/profile_windows_16_md_vs_release_64.expat-shared-True.txt ******************************************************************************** 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] expat:shared=True [build_requires] [env] expat/2.2.7: Forced build from source Installing package: expat/2.2.7 Requirements expat/2.2.7 from local cache - Cache Packages expat/2.2.7:127af201a4cdf8111e2e08540525c245c9b3b99e - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK expat/2.2.7: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\source expat/2.2.7: [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 expat/2.2.7: Copying sources to build folder expat/2.2.7: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\build\127af201a4cdf8111e2e08540525c245c9b3b99e expat/2.2.7: Generator txt created conanbuildinfo.txt expat/2.2.7: Calling generate() expat/2.2.7: 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 expat/2.2.7: Calling build() expat/2.2.7: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/build/127af201a4cdf8111e2e08540525c245c9b3b99e/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/package/127af201a4cdf8111e2e08540525c245c9b3b99e" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\build\127af201a4cdf8111e2e08540525c245c9b3b99e" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/build/127af201a4cdf8111e2e08540525c245c9b3b99e/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/package/127af201a4cdf8111e2e08540525c245c9b3b99e" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\build\127af201a4cdf8111e2e08540525c245c9b3b99e" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/build/127af201a4cdf8111e2e08540525c245c9b3b99e/conan_toolchain.cmake -- Configuring incomplete, errors occurred! expat/2.2.7: CMake Error at conan_toolchain.cmake:27 (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:4 (project) expat/2.2.7: 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 expat/2.2.7: ERROR: Package '127af201a4cdf8111e2e08540525c245c9b3b99e' build failed expat/2.2.7: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\build\127af201a4cdf8111e2e08540525c245c9b3b99e ERROR: expat/2.2.7: Error in build() method, line 82 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/build/127af201a4cdf8111e2e08540525c245c9b3b99e/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/expat/2.2.7/_/_/package/127af201a4cdf8111e2e08540525c245c9b3b99e" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\expat\2.2.7\_\_\build\127af201a4cdf8111e2e08540525c245c9b3b99e"