******************************************************************************** conan install dlib/19.21@#264064152669d350e09946402cab92c2 --build=dlib -pr C:\J\w\prod\BuildSingleReference@3\180710\532dbce5-ec98-4cca-bf57-bc9ae0e87732/profile_windows_15_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=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 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:664bfb1aec9e9ad2fca1816da6cbfecec5976ca6 - Build getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:d17d21c54da8f5460915a6e1b013121721c208ec - Download libjpeg/9d:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download libpng/1.6.37:e19a6a0686b274133d01476019f315a1355835d4 - Download openblas/0.3.17:894c9b253b038e4477b9c5514a7bc7ea09d22289 - Download sqlite3/3.38.5:9692c238e3c59febf99a4660c08eff8863cc3e0f - Download zlib/1.2.13:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - 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 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9d: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 libjpeg/9d: Downloaded package revision bfbf575a3fc95729f522bedafcd9e8c2 openblas/0.3.17: Retrieving package 894c9b253b038e4477b9c5514a7bc7ea09d22289 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openblas/0.3.17: Package installed 894c9b253b038e4477b9c5514a7bc7ea09d22289 openblas/0.3.17: Downloaded package revision 1f7d4871bcf4139d03badc834e0ad112 sqlite3/3.38.5: Retrieving package 9692c238e3c59febf99a4660c08eff8863cc3e0f from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz sqlite3/3.38.5: Package installed 9692c238e3c59febf99a4660c08eff8863cc3e0f sqlite3/3.38.5: Downloaded package revision 4772f089d77110b86046c3b462cab03d zlib/1.2.13: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 zlib/1.2.13: Downloaded package revision 481234a6c14e4b0bba04e4b86717c77e giflib/5.2.1: Retrieving package d17d21c54da8f5460915a6e1b013121721c208ec from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz giflib/5.2.1: Package installed d17d21c54da8f5460915a6e1b013121721c208ec giflib/5.2.1: Downloaded package revision 5a17868b8a7a799a8d7f3e3add661154 libpng/1.6.37: Retrieving package e19a6a0686b274133d01476019f315a1355835d4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.37: Package installed e19a6a0686b274133d01476019f315a1355835d4 libpng/1.6.37: Downloaded package revision 48bace5d923da52d0f556ebbe0daeaa7 openblas/0.3.17: Setting OpenBLAS_HOME environment variable: C:\J\w\prod\BuildSingleReference@3/s\052acd\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\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6 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 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6\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 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/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.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/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/build/CMakeFiles/CMakeOutput.log". dlib/19.21: CMake Error at C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/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/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/build/CMakeFiles/3.21.6/CMakeSystem.cmake:6 (include) C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/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 '664bfb1aec9e9ad2fca1816da6cbfecec5976ca6' build failed dlib/19.21: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6\build ERROR: dlib/19.21: 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.21/_/_/build/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/dlib/19.21/_/_/package/664bfb1aec9e9ad2fca1816da6cbfecec5976ca6" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\dlib\19.21\_\_\build\664bfb1aec9e9ad2fca1816da6cbfecec5976ca6\src"