******************************************************************************** conan install tesseract/4.1.1@#41e118396966312f0790f741ba3a34dc --build=tesseract -pr C:\J\w\prod\BuildSingleReference@2\144015\f67dcd14-dc7f-452e-94f6-3a925834ab79/profile_windows_15_md_vs_release_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@2\.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@2\.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] 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 acb0265f3ffe6f0517a344920ef661ca 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 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/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 129230c05b9705a9bbd6724f5de8eb98 libpng/1.6.38: Not found in local cache, looking in remotes... libpng/1.6.38: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpng/1.6.38: Downloaded recipe revision d97e18208070aff615f52580387933af 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 f46dce61bbb69e0e13cafa43b93b2885 libdeflate/1.15: Not found in local cache, looking in remotes... libdeflate/1.15: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libdeflate/1.15: Downloaded recipe revision 867521b6450fdfcc6ec97c37a603912f xz_utils/5.2.5: Not found in local cache, looking in remotes... xz_utils/5.2.5: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz xz_utils/5.2.5: Downloaded recipe revision 7315e0f635fed3f9a91b8bfd5456b72c 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 223f0b4bdf5b597534f9c06ba1c07a08 zstd/1.5.2: Not found in local cache, looking in remotes... zstd/1.5.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zstd/1.5.2: Downloaded recipe revision 485dd9c1f9245f0f362730e8b8031a17 libwebp/1.2.4: Not found in local cache, looking in remotes... libwebp/1.2.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libwebp/1.2.4: Downloaded recipe revision ea598b8eae9729538cffc84de170462f 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 cb3ca9c879e991ad313caa16d7e04169 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 a91b4b509a41442070757bcf295b2794 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 23e153ab39cf6216c10af0b12dd8ed2a 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.15 from 'conan-center' - Downloaded libiconv/1.17 from 'conan-center' - Downloaded libjpeg/9e from 'conan-center' - Downloaded libpng/1.6.38 from 'conan-center' - Downloaded libtiff/4.4.0 from 'conan-center' - Downloaded libwebp/1.2.4 from 'conan-center' - Downloaded openjpeg/2.5.0 from 'conan-center' - Downloaded tesseract/4.1.1 from local cache - Cache xz_utils/5.2.5 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded zstd/1.5.2 from 'conan-center' - Downloaded Packages getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download giflib/5.2.1:d17d21c54da8f5460915a6e1b013121721c208ec - Download jbig/20160605:1ed3f33597709b1f18c5a6ba2afcc72d12ddb2fc - Download leptonica/1.82.0:86524f35013907088428088855137ae877679c29 - Download libarchive/3.6.2:3d124635e6873b8f790467eaa382e4f87a779513 - Download libdeflate/1.15:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download libiconv/1.17:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download libjpeg/9e:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download libpng/1.6.38:e19a6a0686b274133d01476019f315a1355835d4 - Download libtiff/4.4.0:fec7cb250452a31dd2995829071e4201c14bec91 - Download libwebp/1.2.4:36cedbf3473b284f710724d0897d2340d94bb47e - Download openjpeg/2.5.0:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download tesseract/4.1.1:c6a6ada16f9dadda0eed5535267b1e05c79d3f06 - Build xz_utils/5.2.5:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download zlib/1.2.13:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download zstd/1.5.2:addbd53f27d0f386e44455f3159b5c679fbdb882 - 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 jbig/20160605: Retrieving package 1ed3f33597709b1f18c5a6ba2afcc72d12ddb2fc from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz jbig/20160605: Package installed 1ed3f33597709b1f18c5a6ba2afcc72d12ddb2fc jbig/20160605: Downloaded package revision 00b42516d7b7512149b8de02c559e1e0 libdeflate/1.15: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libdeflate/1.15: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 libdeflate/1.15: Downloaded package revision 2e753a23631f69c2ab6c103b0d54536c libiconv/1.17: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 libiconv/1.17: Downloaded package revision b96bc2736e511b54f9a9d59b9a8a7e47 libjpeg/9e: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libjpeg/9e: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 libjpeg/9e: Downloaded package revision a4ca1c9d761b92210de1d4165de65adc libwebp/1.2.4: Retrieving package 36cedbf3473b284f710724d0897d2340d94bb47e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libwebp/1.2.4: Package installed 36cedbf3473b284f710724d0897d2340d94bb47e libwebp/1.2.4: Downloaded package revision 77c4a87109668a1fc1bfff44f3679fe1 openjpeg/2.5.0: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openjpeg/2.5.0: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 openjpeg/2.5.0: Downloaded package revision 779b8dbc8b5453bd22aa1e442aba6319 xz_utils/5.2.5: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xz_utils/5.2.5: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 xz_utils/5.2.5: Downloaded package revision 81f8fdc2ee625888fc14231ea4d2b778 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 zstd/1.5.2: Retrieving package addbd53f27d0f386e44455f3159b5c679fbdb882 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zstd/1.5.2: Package installed addbd53f27d0f386e44455f3159b5c679fbdb882 zstd/1.5.2: Downloaded package revision bf60f8819df2270322481c25db66fec8 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 libarchive/3.6.2: Retrieving package 3d124635e6873b8f790467eaa382e4f87a779513 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libarchive/3.6.2: Package installed 3d124635e6873b8f790467eaa382e4f87a779513 libarchive/3.6.2: Downloaded package revision 3c591af2463aca290b53d11ac9eb0c9b libpng/1.6.38: Retrieving package e19a6a0686b274133d01476019f315a1355835d4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpng/1.6.38: Package installed e19a6a0686b274133d01476019f315a1355835d4 libpng/1.6.38: Downloaded package revision 98cfe5e229d2b101cf4073e92436ccfc libtiff/4.4.0: Retrieving package fec7cb250452a31dd2995829071e4201c14bec91 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libtiff/4.4.0: Package installed fec7cb250452a31dd2995829071e4201c14bec91 libtiff/4.4.0: Downloaded package revision 2509a2fcd7f9d989350fda270e453b9f leptonica/1.82.0: Retrieving package 86524f35013907088428088855137ae877679c29 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz leptonica/1.82.0: Package installed 86524f35013907088428088855137ae877679c29 leptonica/1.82.0: Downloaded package revision 3821f087167ab008885e54d3d256778e jbig/20160605: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@2\.conan\data\jbig\20160605\_\_\package\1ed3f33597709b1f18c5a6ba2afcc72d12ddb2fc\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK tesseract/4.1.1: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.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@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06 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 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06\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 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/package/c6a6ada16f9dadda0eed5535267b1e05c79d3f06" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/package/c6a6ada16f9dadda0eed5535267b1e05c79d3f06" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/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@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/build/generators/conan_toolchain.cmake:96 (set): Syntax error in cmake code at C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/build/generators/conan_toolchain.cmake:96 when parsing string C:\J\w\prod\BuildSingleReference@2\.conan\data\leptonica\1.82.0\_\_\package\86524f35013907088428088855137ae877679c29 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 'c6a6ada16f9dadda0eed5535267b1e05c79d3f06' build failed tesseract/4.1.1: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06\build ERROR: tesseract/4.1.1: Error in build() method, line 143 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/build/c6a6ada16f9dadda0eed5535267b1e05c79d3f06/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/tesseract/4.1.1/_/_/package/c6a6ada16f9dadda0eed5535267b1e05c79d3f06" -DCMAKE_POLICY_DEFAULT_CMP0077="NEW" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\tesseract\4.1.1\_\_\build\c6a6ada16f9dadda0eed5535267b1e05c79d3f06\src"