******************************************************************************** conan install dlib/19.21@#1ab9fb2a8272e13ed5e3776348f4d114 --build=dlib -pr C:\J\w\prod\BuildSingleReference\269246\0097f0b7-bc4c-476d-abba-825e5de50964/profile_windows_16_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\.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=Debug compiler=Visual Studio compiler.runtime=MDd 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:c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d - Build getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:e58497c742fa3202b3c86dba0a9591e9314d5d65 - Download libjpeg/9e:d057732059ea44a47760900cb5e4855d2bea8714 - Download libpng/1.6.40:8b1ef0ec9599374db4689199730c00a0d5f4de36 - Download openblas/0.3.20:73611726868eea63c69a2c0a44d1fc820e46c975 - Download sqlite3/3.42.0:6479851e80c7daa08c841403b40c4699e1a1c9d4 - Download zlib/1.2.13:d057732059ea44a47760900cb5e4855d2bea8714 - 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 d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9e: Package installed d057732059ea44a47760900cb5e4855d2bea8714 libjpeg/9e: Downloaded package revision 67cae2b0b81b0dad54fb052751cfcae4 openblas/0.3.20: Retrieving package 73611726868eea63c69a2c0a44d1fc820e46c975 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openblas/0.3.20: Package installed 73611726868eea63c69a2c0a44d1fc820e46c975 openblas/0.3.20: Downloaded package revision 30fd9c008bc458074ecd73667c8a6361 sqlite3/3.42.0: Retrieving package 6479851e80c7daa08c841403b40c4699e1a1c9d4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz sqlite3/3.42.0: Package installed 6479851e80c7daa08c841403b40c4699e1a1c9d4 sqlite3/3.42.0: Downloaded package revision 94b90dec7fa13159ec481a2571182012 zlib/1.2.13: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed d057732059ea44a47760900cb5e4855d2bea8714 zlib/1.2.13: Downloaded package revision 5f1045cb1831365712c9155aa6c9fd7f giflib/5.2.1: Retrieving package e58497c742fa3202b3c86dba0a9591e9314d5d65 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed e58497c742fa3202b3c86dba0a9591e9314d5d65 giflib/5.2.1: Downloaded package revision 7dbb6811264f1a12a9d40beb19674b58 libpng/1.6.40: Retrieving package 8b1ef0ec9599374db4689199730c00a0d5f4de36 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.40: Package installed 8b1ef0ec9599374db4689199730c00a0d5f4de36 libpng/1.6.40: Downloaded package revision 65d27cecf0b5e747e1cb954ca347b286 openblas/0.3.20: Setting OpenBLAS_HOME environment variable: C:\J\w\prod\BuildSingleReference/s\269f13\1 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK dlib/19.21: Configuring sources in C:\J\w\prod\BuildSingleReference\.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\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d 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\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d\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/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/package/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d\src\dlib" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/package/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d\src\dlib" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/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/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/build/CMakeFiles/CMakeOutput.log". dlib/19.21: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/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/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/build/CMakeFiles/3.21.6/CMakeSystem.cmake:6 (include) C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/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 'c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d' build failed dlib/19.21: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d\build ERROR: dlib/19.21: Error in build() method, line 160 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/.conan/data/dlib/19.21/_/_/build/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/dlib/19.21/_/_/package/c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\dlib\19.21\_\_\build\c58baca6ed15d20c2f4f871fae4a1d9f3c60ea1d\src\dlib"