******************************************************************************** conan install dlib/19.21@#e68600652d3d22f11a6e81335505865e --build=dlib -pr C:\J\w\prod\BuildSingleReference@3\269135\20505046-b02e-47df-8983-d5ababc6516f/profile_windows_16_md_vs_release_64.dlib-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@3\.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@3\.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] dlib:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True giflib/5.2.1: Not found in local cache, looking in remotes... giflib/5.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz giflib/5.2.1: Downloaded recipe revision 15033c544d771fa992cda180c0a1f8e0 getopt-for-visual-studio/20200201: Not found in local cache, looking in remotes... getopt-for-visual-studio/20200201: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz getopt-for-visual-studio/20200201: Downloaded recipe revision 32ee360e2552fe65ad8bec52edcd64fd libjpeg/9e: Not found in local cache, looking in remotes... libjpeg/9e: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libjpeg/9e: Downloaded recipe revision 68269859e4325ddc3f995d1fd3fc9187 libpng/1.6.40: Not found in local cache, looking in remotes... libpng/1.6.40: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.40: Downloaded recipe revision 3b63a2aa000933a57a53322207790714 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 e377bee636333ae348d51ca90874e353 sqlite3/3.42.0: Not found in local cache, looking in remotes... sqlite3/3.42.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz sqlite3/3.42.0: Downloaded recipe revision a731fc3f0c93706bb5ced39cdee508d5 openblas/0.3.20: Not found in local cache, looking in remotes... openblas/0.3.20: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openblas/0.3.20: Downloaded recipe revision bc54895c0f1f0a58c8ea414a3be55950 dlib/19.21: Forced build from source Installing package: dlib/19.21 Requirements dlib/19.21 from local cache - Cache getopt-for-visual-studio/20200201 from 'conan-center' - Downloaded giflib/5.2.1 from 'conan-center' - Downloaded libjpeg/9e from 'conan-center' - Downloaded libpng/1.6.40 from 'conan-center' - Downloaded openblas/0.3.20 from 'conan-center' - Downloaded sqlite3/3.42.0 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages dlib/19.21:40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a - Build getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:6b00c5dadf5aaaf1ebe71d0b7a714cd765691e83 - Download libjpeg/9e:3fb49604f9c2f729b85ba3115852006824e72cab - Download libpng/1.6.40:ce650d9f1f1c1c0839cf0694a55c1351ddbed859 - Download openblas/0.3.20:fc5ffe128dfe443039d26bf5230fc292084d3ce2 - Download sqlite3/3.42.0:1cb7125758648b3fd39bd045f772ec43fd26f71a - Download zlib/1.2.13:3fb49604f9c2f729b85ba3115852006824e72cab - Download Installing (downloading, building) binaries... getopt-for-visual-studio/20200201: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz getopt-for-visual-studio/20200201: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 getopt-for-visual-studio/20200201: Downloaded package revision 703a0d4b596e8c9855c380fd8f25a0c4 libjpeg/9e: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9e: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab libjpeg/9e: Downloaded package revision 948a1a14e89ff35f79862f803d53d887 openblas/0.3.20: Retrieving package fc5ffe128dfe443039d26bf5230fc292084d3ce2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openblas/0.3.20: Package installed fc5ffe128dfe443039d26bf5230fc292084d3ce2 openblas/0.3.20: Downloaded package revision 386f65af5544cbf78f9c18fd722426d9 sqlite3/3.42.0: Retrieving package 1cb7125758648b3fd39bd045f772ec43fd26f71a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz sqlite3/3.42.0: Package installed 1cb7125758648b3fd39bd045f772ec43fd26f71a sqlite3/3.42.0: Downloaded package revision 30d3de9f6aace69d7262f0b4df3955d6 zlib/1.2.13: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab zlib/1.2.13: Downloaded package revision fe3ff2bc68db08cf61e6def85ccd85aa giflib/5.2.1: Retrieving package 6b00c5dadf5aaaf1ebe71d0b7a714cd765691e83 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed 6b00c5dadf5aaaf1ebe71d0b7a714cd765691e83 giflib/5.2.1: Downloaded package revision 4b6ec91e9c9eadbf3771fada146af619 libpng/1.6.40: Retrieving package ce650d9f1f1c1c0839cf0694a55c1351ddbed859 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.40: Package installed ce650d9f1f1c1c0839cf0694a55c1351ddbed859 libpng/1.6.40: Downloaded package revision 674139c79ebf9c9bc3281fba2005d1b7 openblas/0.3.20: Setting OpenBLAS_HOME environment variable: C:\J\w\prod\BuildSingleReference@3/s\e44d2b\1 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK dlib/19.21: Configuring sources in C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\source\src dlib/19.21: [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 dlib/19.21: Copying sources to build folder dlib/19.21: Building your package in C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a dlib/19.21: Generator txt created conanbuildinfo.txt dlib/19.21: Calling generate() dlib/19.21: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' dlib/19.21: 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@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' dlib/19.21: 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 dlib/19.21: Calling build() dlib/19.21: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a\src\dlib" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a\src\dlib" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.29.30148.0 -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Using CMake version: 3.21.6 -- Compiling dlib version: 19.21.0 -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- Enabling SSE2 instructions -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/CMakeFiles/CMakeOutput.log". dlib/19.21: CMake Error at C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/generators/conan_toolchain.cmake:31 (message): The CMake policy CMP0091 must be NEW, but is '' Call Stack (most recent call first): C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/CMakeFiles/3.21.6/CMakeSystem.cmake:6 (include) C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/src/dlib/cmake_utils/test_for_libpng/CMakeLists.txt:3 (project) CMake Error at cmake_utils/find_libpng.cmake:25 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): CMakeLists.txt:433 (include) dlib/19.21: 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 dlib/19.21: 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 dlib/19.21: ERROR: Package '40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a' build failed dlib/19.21: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a\build ERROR: dlib/19.21: Error in build() method, line 156 cmake.configure(build_script_folder=os.path.join(self.source_folder, "dlib")) ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\40dae64d518cd4bbd89b1ea00cb6a8feb9b12a8a\src\dlib"