******************************************************************************** conan install dlib/19.21@#264064152669d350e09946402cab92c2 --build=dlib -pr C:\J\w\prod\BuildSingleReference@4\180710\2653bc0e-2c09-4527-88fb-dd7e90685134/profile_windows_16_mt_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@4\.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@4\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT 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 847dc6f429d95cc67f2162ea83ddd9c9 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 bb08a53b2a7fc45a7aca91d19c77162f libjpeg/9d: Not found in local cache, looking in remotes... libjpeg/9d: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libjpeg/9d: Downloaded recipe revision 1d9061b6bd0ec7b534a08538ac4f6cee libpng/1.6.37: Not found in local cache, looking in remotes... libpng/1.6.37: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.37: Downloaded recipe revision 4dd111105b4022b8ebcdec1de2f9f3c9 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 13c96f538b52e1600c40b88994de240f sqlite3/3.38.5: Not found in local cache, looking in remotes... sqlite3/3.38.5: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz sqlite3/3.38.5: Downloaded recipe revision 4b875d4249cdfb4c1235e6b3ea6c18e7 openblas/0.3.17: Not found in local cache, looking in remotes... openblas/0.3.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openblas/0.3.17: Downloaded recipe revision 1fffeb01bf119b40c7bc69999d0fa0a1 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/9d from 'conan-center' - Downloaded libpng/1.6.37 from 'conan-center' - Downloaded openblas/0.3.17 from 'conan-center' - Downloaded sqlite3/3.38.5 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages dlib/19.21:1dd2c85ab948fd4da2cdac5db20b0901303a5130 - Build getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:eac29c4429827ee1c6befcd22b987c8396535d65 - Download libjpeg/9d:a79a557254fabcb77849dd623fed97c9c5ab7651 - Download libpng/1.6.37:c91944d5ebaf4e45db68ccd31554454862bd945c - Download openblas/0.3.17:7da7521719d11dd6814a5801e97db781009c1385 - Download sqlite3/3.38.5:a2bae785d3ebd35f5be679084033b96fdbb84f8f - Download zlib/1.2.13:a79a557254fabcb77849dd623fed97c9c5ab7651 - 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 508b0943849b3c526a8f666fca4f2e20 libjpeg/9d: Retrieving package a79a557254fabcb77849dd623fed97c9c5ab7651 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9d: Package installed a79a557254fabcb77849dd623fed97c9c5ab7651 libjpeg/9d: Downloaded package revision 1bbf5c4da7ee1b90a86040db8ef60202 openblas/0.3.17: Retrieving package 7da7521719d11dd6814a5801e97db781009c1385 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openblas/0.3.17: Package installed 7da7521719d11dd6814a5801e97db781009c1385 openblas/0.3.17: Downloaded package revision d84ab4c8dd7fe7f7232e75883454f173 sqlite3/3.38.5: Retrieving package a2bae785d3ebd35f5be679084033b96fdbb84f8f from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz sqlite3/3.38.5: Package installed a2bae785d3ebd35f5be679084033b96fdbb84f8f sqlite3/3.38.5: Downloaded package revision dca1ddbae0e7ff33e9a6fd0ba67eb0b7 zlib/1.2.13: Retrieving package a79a557254fabcb77849dd623fed97c9c5ab7651 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed a79a557254fabcb77849dd623fed97c9c5ab7651 zlib/1.2.13: Downloaded package revision 171d14ee762f2308d5ec848f149c326b giflib/5.2.1: Retrieving package eac29c4429827ee1c6befcd22b987c8396535d65 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed eac29c4429827ee1c6befcd22b987c8396535d65 giflib/5.2.1: Downloaded package revision f174096702a46d9e6481770f95ae0352 libpng/1.6.37: Retrieving package c91944d5ebaf4e45db68ccd31554454862bd945c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.37: Package installed c91944d5ebaf4e45db68ccd31554454862bd945c libpng/1.6.37: Downloaded package revision 75724ac354cc6e1913557877659dd391 openblas/0.3.17: Setting OpenBLAS_HOME environment variable: C:\J\w\prod\BuildSingleReference@4/s\eb8a93\1 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK dlib/19.21: Configuring sources in C:\J\w\prod\BuildSingleReference@4\.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@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130 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@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130\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@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/package/1dd2c85ab948fd4da2cdac5db20b0901303a5130" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/package/1dd2c85ab948fd4da2cdac5db20b0901303a5130" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.29.30147.0 -- The CXX compiler identification is MSVC 19.29.30147.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@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/CMakeFiles/CMakeOutput.log". dlib/19.21: CMake Error at C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/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@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/CMakeFiles/3.21.6/CMakeSystem.cmake:6 (include) C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/src/dlib/cmake_utils/test_for_libpng/CMakeLists.txt:3 (project) CMake Error at dlib/cmake_utils/find_libpng.cmake:25 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): dlib/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 '1dd2c85ab948fd4da2cdac5db20b0901303a5130' build failed dlib/19.21: WARN: Build folder C:\J\w\prod\BuildSingleReference@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130\build ERROR: dlib/19.21: Error in build() method, line 176 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/build/1dd2c85ab948fd4da2cdac5db20b0901303a5130/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/dlib/19.21/_/_/package/1dd2c85ab948fd4da2cdac5db20b0901303a5130" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\dlib\19.21\_\_\build\1dd2c85ab948fd4da2cdac5db20b0901303a5130\src"