******************************************************************************** conan install tesseract/4.1.1@#f60afa0d919013feefe382ccdaf07136 --build=tesseract -pr C:\J\w\prod\BuildSingleReference\222433\28ecfbad-b7cf-47ed-be66-3832108c9a81/profile_windows_16_mdd_vs_debug_64.tesseract-shared-True.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] tesseract:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True leptonica/1.82.0: Not found in local cache, looking in remotes... leptonica/1.82.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz leptonica/1.82.0: Downloaded recipe revision a29760b2332e50a5e612ca79487f7f3d 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 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.39: Not found in local cache, looking in remotes... libpng/1.6.39: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.39: Downloaded recipe revision a4953955f060811c79abff9fe986b6fe libtiff/4.4.0: Not found in local cache, looking in remotes... libtiff/4.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libtiff/4.4.0: Downloaded recipe revision e6d8942022c89a22dfbe1a9b77289c7e libdeflate/1.17: Not found in local cache, looking in remotes... libdeflate/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libdeflate/1.17: Downloaded recipe revision 245e79e0c70a86450df2816a2289fa04 xz_utils/5.4.0: Not found in local cache, looking in remotes... xz_utils/5.4.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz xz_utils/5.4.0: Downloaded recipe revision 186e94237b66f785e4ea095f2f621a56 jbig/20160605: Not found in local cache, looking in remotes... jbig/20160605: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz jbig/20160605: Downloaded recipe revision 2d29fa02aacd76902e0d2cbbc24631ef zstd/1.5.4: Not found in local cache, looking in remotes... zstd/1.5.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zstd/1.5.4: Downloaded recipe revision 15ac0bc440f89247276d78ea4fdf8b14 libwebp/1.3.0: Not found in local cache, looking in remotes... libwebp/1.3.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libwebp/1.3.0: Downloaded recipe revision d92654dbce1f8cb8ae45d5388f86fcfe openjpeg/2.5.0: Not found in local cache, looking in remotes... openjpeg/2.5.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openjpeg/2.5.0: Downloaded recipe revision e3684ea8ab1cfc6707a461b0b2d0bb9c libarchive/3.6.2: Not found in local cache, looking in remotes... libarchive/3.6.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libarchive/3.6.2: Downloaded recipe revision 97a1b90f7143a0b5010b3b7f8426c07a libiconv/1.17: Not found in local cache, looking in remotes... libiconv/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.17: Downloaded recipe revision fa54397801cd96911a8294bc5fc76335 tesseract/4.1.1: Forced build from source Installing package: tesseract/4.1.1 Requirements getopt-for-visual-studio/20200201 from 'conan-center' - Downloaded giflib/5.2.1 from 'conan-center' - Downloaded jbig/20160605 from 'conan-center' - Downloaded leptonica/1.82.0 from 'conan-center' - Downloaded libarchive/3.6.2 from 'conan-center' - Downloaded libdeflate/1.17 from 'conan-center' - Downloaded libiconv/1.17 from 'conan-center' - Downloaded libjpeg/9e from 'conan-center' - Downloaded libpng/1.6.39 from 'conan-center' - Downloaded libtiff/4.4.0 from 'conan-center' - Downloaded libwebp/1.3.0 from 'conan-center' - Downloaded openjpeg/2.5.0 from 'conan-center' - Downloaded tesseract/4.1.1 from local cache - Cache xz_utils/5.4.0 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded zstd/1.5.4 from 'conan-center' - Downloaded Packages getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:e58497c742fa3202b3c86dba0a9591e9314d5d65 - Download jbig/20160605:a05a9ef21a91686b7138c926ec52aaeb70439310 - Download leptonica/1.82.0:35efc3a0ed359e9f6efdb70eae88a6c0559ce88b - Download libarchive/3.6.2:1bd1b1038a9e513777d8e4fa136fe0fb58351db6 - Download libdeflate/1.17:d057732059ea44a47760900cb5e4855d2bea8714 - Download libiconv/1.17:d057732059ea44a47760900cb5e4855d2bea8714 - Download libjpeg/9e:d057732059ea44a47760900cb5e4855d2bea8714 - Download libpng/1.6.39:8b1ef0ec9599374db4689199730c00a0d5f4de36 - Download libtiff/4.4.0:3c1c4599494b8f7c6fc1fed2fe8f62642eaee091 - Download libwebp/1.3.0:092f77d3b4b4678d81fbffc1fccc9642b870175e - Download openjpeg/2.5.0:d057732059ea44a47760900cb5e4855d2bea8714 - Download tesseract/4.1.1:1be4cfef97e6ac403e123efaa97603505947fca6 - Build xz_utils/5.4.0:d057732059ea44a47760900cb5e4855d2bea8714 - Download zlib/1.2.13:d057732059ea44a47760900cb5e4855d2bea8714 - Download zstd/1.5.4:1967f444568571a94da80e35a521699f1a90cb74 - 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 jbig/20160605: Retrieving package a05a9ef21a91686b7138c926ec52aaeb70439310 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz jbig/20160605: Package installed a05a9ef21a91686b7138c926ec52aaeb70439310 jbig/20160605: Downloaded package revision d51817b727728d697253bc8d580b9576 libdeflate/1.17: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libdeflate/1.17: Package installed d057732059ea44a47760900cb5e4855d2bea8714 libdeflate/1.17: Downloaded package revision 4fb083f27cc992b9d88498d3725c95eb libiconv/1.17: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed d057732059ea44a47760900cb5e4855d2bea8714 libiconv/1.17: Downloaded package revision 04f6e9c6f19fde0eb32dcdeb5e65b014 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 libwebp/1.3.0: Retrieving package 092f77d3b4b4678d81fbffc1fccc9642b870175e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libwebp/1.3.0: Package installed 092f77d3b4b4678d81fbffc1fccc9642b870175e libwebp/1.3.0: Downloaded package revision d5d5db64a186c2d51c614a4af7d612b1 openjpeg/2.5.0: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openjpeg/2.5.0: Package installed d057732059ea44a47760900cb5e4855d2bea8714 openjpeg/2.5.0: Downloaded package revision 582840cfa53c0e2cee366599214f8199 xz_utils/5.4.0: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xz_utils/5.4.0: Package installed d057732059ea44a47760900cb5e4855d2bea8714 xz_utils/5.4.0: Downloaded package revision 25a6c1b715cce035339d1d9c3a01faf1 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 6a8178567957ca667bfe170445d5bf47 zstd/1.5.4: Retrieving package 1967f444568571a94da80e35a521699f1a90cb74 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zstd/1.5.4: Package installed 1967f444568571a94da80e35a521699f1a90cb74 zstd/1.5.4: Downloaded package revision 75852db14d8bc84ffc8b3c6f5fc3c427 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 libarchive/3.6.2: Retrieving package 1bd1b1038a9e513777d8e4fa136fe0fb58351db6 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libarchive/3.6.2: Package installed 1bd1b1038a9e513777d8e4fa136fe0fb58351db6 libarchive/3.6.2: Downloaded package revision 8a1d1468a8325a061a31848c41d71203 libpng/1.6.39: Retrieving package 8b1ef0ec9599374db4689199730c00a0d5f4de36 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.39: Package installed 8b1ef0ec9599374db4689199730c00a0d5f4de36 libpng/1.6.39: Downloaded package revision ce70a1873a5a8dd2cc681ac79fe04bc6 libtiff/4.4.0: Retrieving package 3c1c4599494b8f7c6fc1fed2fe8f62642eaee091 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libtiff/4.4.0: Package installed 3c1c4599494b8f7c6fc1fed2fe8f62642eaee091 libtiff/4.4.0: Downloaded package revision caf51211eaede083a7848781c57560f8 leptonica/1.82.0: Retrieving package 35efc3a0ed359e9f6efdb70eae88a6c0559ce88b from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz leptonica/1.82.0: Package installed 35efc3a0ed359e9f6efdb70eae88a6c0559ce88b leptonica/1.82.0: Downloaded package revision 6e6d6f0c2663f156fbd72bd4a4711b85 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK tesseract/4.1.1: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\source\src tesseract/4.1.1: [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 tesseract/4.1.1: Copying sources to build folder tesseract/4.1.1: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6 tesseract/4.1.1: Generator txt created conanbuildinfo.txt tesseract/4.1.1: Calling generate() tesseract/4.1.1: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' tesseract/4.1.1: 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\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0077=NEW -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' tesseract/4.1.1: 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 tesseract/4.1.1: Calling build() tesseract/4.1.1: Apply patch (conan): fix runtime install path tesseract/4.1.1: Apply patch (conan): link cci package tesseract/4.1.1: Apply patch (portability): disable settings locale tesseract/4.1.1: Apply patch (portability): fix condition for cpu optimizations tesseract/4.1.1: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/package/1be4cfef97e6ac403e123efaa97603505947fca6" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/package/1be4cfef97e6ac403e123efaa97603505947fca6" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- Configuring incomplete, errors occurred! tesseract/4.1.1: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake:106 (set): Syntax error in cmake code at C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake:106 when parsing string C:\J\w\prod\BuildSingleReference\.conan\data\leptonica\1.82.0\_\_\package\35efc3a0ed359e9f6efdb70eae88a6c0559ce88b Invalid character escape '\J'. Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:41 (project) tesseract/4.1.1: 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 tesseract/4.1.1: 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 tesseract/4.1.1: ERROR: Package '1be4cfef97e6ac403e123efaa97603505947fca6' build failed tesseract/4.1.1: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6\build ERROR: tesseract/4.1.1: Error in build() method, line 147 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/build/1be4cfef97e6ac403e123efaa97603505947fca6/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/tesseract/4.1.1/_/_/package/1be4cfef97e6ac403e123efaa97603505947fca6" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\tesseract\4.1.1\_\_\build\1be4cfef97e6ac403e123efaa97603505947fca6\src"