******************************************************************************** conan install exiv2/0.27.4@#1b3546e83796a95cecdbeb35a26012e5 --build=exiv2 -pr C:\J\w\prod\BuildSingleReference\107211\a7b5e242-62b1-49ff-8944-820863ebbdd7/profile_windows_16_md_vs_release_64.exiv2-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] exiv2:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libiconv/1.17: Not found in local cache, looking in remotes... libiconv/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.17: Downloaded recipe revision 3832bf4490d1a4ed8eae6722927ce589 libpng/1.6.38: Not found in local cache, looking in remotes... libpng/1.6.38: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.38: Downloaded recipe revision 9ba771fa0c71dd012bfab19ced38920a zlib/1.2.12: Not found in local cache, looking in remotes... zlib/1.2.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.12: Downloaded recipe revision ce85b680d90f872406f83b11dcbeac36 expat/2.4.9: Not found in local cache, looking in remotes... expat/2.4.9: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz expat/2.4.9: Downloaded recipe revision 298c8a073d52f7a857d1225add681981 exiv2/0.27.4: Forced build from source Installing package: exiv2/0.27.4 Requirements exiv2/0.27.4 from local cache - Cache expat/2.4.9 from 'conan-center' - Downloaded libiconv/1.17 from 'conan-center' - Downloaded libpng/1.6.38 from 'conan-center' - Downloaded zlib/1.2.12 from 'conan-center' - Downloaded Packages exiv2/0.27.4:97f13b8fe5444408bdd27d395604aa6f6cf2e15f - Build expat/2.4.9:ce5788ba7e3bb7dc834e36b06df66c481f42c99a - Download libiconv/1.17:3fb49604f9c2f729b85ba3115852006824e72cab - Download libpng/1.6.38:ce650d9f1f1c1c0839cf0694a55c1351ddbed859 - Download zlib/1.2.12:3fb49604f9c2f729b85ba3115852006824e72cab - Download Installing (downloading, building) binaries... expat/2.4.9: Retrieving package ce5788ba7e3bb7dc834e36b06df66c481f42c99a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz expat/2.4.9: Package installed ce5788ba7e3bb7dc834e36b06df66c481f42c99a expat/2.4.9: Downloaded package revision 796eb8a5f90a9ad1762567d9c6acd952 libiconv/1.17: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab libiconv/1.17: Downloaded package revision b2cf8340ffac925350a02c38e0bde345 zlib/1.2.12: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab zlib/1.2.12: Downloaded package revision 7137d15604f00525ab3126dc27cacf0d libpng/1.6.38: Retrieving package ce650d9f1f1c1c0839cf0694a55c1351ddbed859 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.38: Package installed ce650d9f1f1c1c0839cf0694a55c1351ddbed859 libpng/1.6.38: Downloaded package revision 6f1a9600f78918309f19387a2e99fd22 libiconv/1.17: Appending PATH environment var: C:\J\w\prod\BuildSingleReference\.conan\data\libiconv\1.17\_\_\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK exiv2/0.27.4: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\source\src exiv2/0.27.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 exiv2/0.27.4: Copying sources to build folder exiv2/0.27.4: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\build\97f13b8fe5444408bdd27d395604aa6f6cf2e15f exiv2/0.27.4: Generator txt created conanbuildinfo.txt exiv2/0.27.4: Calling generate() exiv2/0.27.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 exiv2/0.27.4: Calling build() exiv2/0.27.4: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/package/97f13b8fe5444408bdd27d395604aa6f6cf2e15f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\build\97f13b8fe5444408bdd27d395604aa6f6cf2e15f\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/package/97f13b8fe5444408bdd27d395604aa6f6cf2e15f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\build\97f13b8fe5444408bdd27d395604aa6f6cf2e15f\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is MSVC 19.29.30146.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - not found -- Found Threads: TRUE -- Found ZLIB: C:/J/w/prod/BuildSingleReference/.conan/data/zlib/1.2.12/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/zlib.lib (found version "1.2.12") -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/CMakeFiles/CMakeOutput.log". See also "C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/CMakeFiles/CMakeError.log". exiv2/0.27.4: CMake Warning (dev) at CMakeLists.txt:15 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'BUILD_SHARED_LIBS'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find EXPAT (missing: EXPAT_LIBRARY) (found version "2.4.9") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.21/Modules/FindEXPAT.cmake:65 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/findDependencies.cmake:45 (find_package) CMakeLists.txt:65 (include) exiv2/0.27.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 exiv2/0.27.4: ERROR: Package '97f13b8fe5444408bdd27d395604aa6f6cf2e15f' build failed exiv2/0.27.4: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\build\97f13b8fe5444408bdd27d395604aa6f6cf2e15f\build ERROR: exiv2/0.27.4: Error in build() method, line 96 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/build/97f13b8fe5444408bdd27d395604aa6f6cf2e15f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/exiv2/0.27.4/_/_/package/97f13b8fe5444408bdd27d395604aa6f6cf2e15f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\exiv2\0.27.4\_\_\build\97f13b8fe5444408bdd27d395604aa6f6cf2e15f\src"