******************************************************************************** conan install dlib/19.24@#f0e7d2b2f6c32f98bad9d3924fbd2d95 --build=dlib -pr C:\J\w\prod\BuildSingleReference@3\180709\989fd70d-2c82-4729-b66d-55b1120fed26/profile_windows_15_mdd_vs_debug_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=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=15 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 libwebp/1.2.2: Not found in local cache, looking in remotes... libwebp/1.2.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libwebp/1.2.2: Downloaded recipe revision 38fb97613356cddba138bb8871ecbdf0 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.24: Forced build from source Installing package: dlib/19.24 Requirements dlib/19.24 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 libwebp/1.2.2 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.24:feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98 - Build getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:d1cafcf065d64f6a4cfef4f7ba02e0b32333baf3 - Download libjpeg/9d:8cf01e2f50fcd6b63525e70584df0326550364e1 - Download libpng/1.6.37:3fba5fd406f3301ca4b1bad061a539c0581a3dc7 - Download libwebp/1.2.2:cc3ca8804df71811388ba344bb754fcfc3a6d540 - Download openblas/0.3.17:408960b3fee451ea81c87eb6935c3e3d04f15bc6 - Download sqlite3/3.38.5:8e25da653fbb0e3f07cb3452f2043ed8c19025be - Download zlib/1.2.13:8cf01e2f50fcd6b63525e70584df0326550364e1 - 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 8cf01e2f50fcd6b63525e70584df0326550364e1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9d: Package installed 8cf01e2f50fcd6b63525e70584df0326550364e1 libjpeg/9d: Downloaded package revision 458e848aeaaf439c9b9afd8a3ffa6b59 libwebp/1.2.2: Retrieving package cc3ca8804df71811388ba344bb754fcfc3a6d540 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libwebp/1.2.2: Package installed cc3ca8804df71811388ba344bb754fcfc3a6d540 libwebp/1.2.2: Downloaded package revision bc1cc54b0acc2eeb5cb935332c16fd42 openblas/0.3.17: Retrieving package 408960b3fee451ea81c87eb6935c3e3d04f15bc6 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openblas/0.3.17: Package installed 408960b3fee451ea81c87eb6935c3e3d04f15bc6 openblas/0.3.17: Downloaded package revision 78bbc2bb808084a7c681fb5f9431f061 sqlite3/3.38.5: Retrieving package 8e25da653fbb0e3f07cb3452f2043ed8c19025be from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz sqlite3/3.38.5: Package installed 8e25da653fbb0e3f07cb3452f2043ed8c19025be sqlite3/3.38.5: Downloaded package revision 67df7ad209541e7b6c161b9c4749209a zlib/1.2.13: Retrieving package 8cf01e2f50fcd6b63525e70584df0326550364e1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 8cf01e2f50fcd6b63525e70584df0326550364e1 zlib/1.2.13: Downloaded package revision 0d5d6042740d373c696e546d71b64a5f giflib/5.2.1: Retrieving package d1cafcf065d64f6a4cfef4f7ba02e0b32333baf3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed d1cafcf065d64f6a4cfef4f7ba02e0b32333baf3 giflib/5.2.1: Downloaded package revision 40f151adcfaacfb362bb87441945ec8f libpng/1.6.37: Retrieving package 3fba5fd406f3301ca4b1bad061a539c0581a3dc7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.37: Package installed 3fba5fd406f3301ca4b1bad061a539c0581a3dc7 libpng/1.6.37: Downloaded package revision 1a2daa00d592c28d3a3bde58af20ba1b openblas/0.3.17: Setting OpenBLAS_HOME environment variable: C:\J\w\prod\BuildSingleReference@3/s\1d25e3\1 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK dlib/19.24: Configuring sources in C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\source\src dlib/19.24: [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.24: Copying sources to build folder dlib/19.24: Building your package in C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98 dlib/19.24: Generator txt created conanbuildinfo.txt dlib/19.24: Calling generate() dlib/19.24: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' dlib/19.24: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' dlib/19.24: 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.24: Calling build() dlib/19.24: CMake command: cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/package/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/package/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.16.27048.0 -- The CXX compiler identification is MSVC 19.16.27048.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/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/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CMake version: 3.21.6 -- Compiling dlib version: 19.24.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.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/CMakeFiles/CMakeOutput.log". dlib/19.24: CMake Error at C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/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.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/CMakeFiles/3.21.6/CMakeSystem.cmake:6 (include) C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/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:443 (include) dlib/19.24: 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.24: 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.24: ERROR: Package 'feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98' build failed dlib/19.24: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98\build ERROR: dlib/19.24: Error in build() method, line 176 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/build/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.24/_/_/package/feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.24\_\_\build\feee9519a1bfbbbdfbd466e6775a97f4a9d4ad98\src"