conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
944 stars 1.71k forks source link

[package] opencv/4.5.3: can't build for android #9870

Open AndreyMlashkin opened 2 years ago

AndreyMlashkin commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
arch=armv8
arch_build=x86_64
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=8
os=Android
os.api_level=21
os_build=Linux
[options]
*:with_embree=False
*:with_gtk=False
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

Logs (Include/Attach if Applicable)

Click to expand log ``` conan install opencv/4.5.3@ -pr android --build missing Configuration: [settings] arch=armv8 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=8 os=Android os.api_level=21 os_build=Linux [options] *:with_embree=False *:with_gtk=False [build_requires] [env] Installing package: opencv/4.5.3 Requirements ade/0.1.1f from 'conancenter' - Cache eigen/3.3.9 from 'conancenter' - Cache jasper/2.0.33 from 'conancenter' - Cache jbig/20160605 from 'conancenter' - Cache libdeflate/1.9 from 'conancenter' - Cache libjpeg/9d from 'conancenter' - Cache libpng/1.6.37 from 'conancenter' - Cache libtiff/4.3.0 from 'conancenter' - Cache libwebp/1.2.2 from 'conancenter' - Cache opencv/4.5.3 from 'conancenter' - Cache protobuf/3.17.1 from 'conancenter' - Cache quirc/1.1 from 'conancenter' - Cache xz_utils/5.2.5 from 'conancenter' - Cache zlib/1.2.11 from 'conancenter' - Cache zstd/1.5.2 from 'conancenter' - Cache Packages ade/0.1.1f:d6e0179ce95dbd07756cbd2cf2969c9500cfe501 - Cache eigen/3.3.9:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache jasper/2.0.33:e3514ff267749c3a51b0c31d8d4a42976c669c8e - Cache jbig/20160605:d62769c967213f5b842142939ad92bbebaddc845 - Cache libdeflate/1.9:3cc1debdebdc6ad0796bb6699c1ec121d98add89 - Cache libjpeg/9d:3cc1debdebdc6ad0796bb6699c1ec121d98add89 - Cache libpng/1.6.37:146082f2a0918e5ecae93ad6065ddf593e0720ff - Cache libtiff/4.3.0:22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef - Cache libwebp/1.2.2:8715f97ffc2f4a76a972ec0a7955bd7d9337a74d - Cache opencv/4.5.3:50f83760ef86284dbb2bbd935e00ee75951557eb - Build protobuf/3.17.1:947dcc241f91eec7f98ad3ef6b204315a6d0df0a - Cache quirc/1.1:ee94de5722531e2eb2df5e97ffbadf91917f5ca5 - Cache xz_utils/5.2.5:3cc1debdebdc6ad0796bb6699c1ec121d98add89 - Cache zlib/1.2.11:3cc1debdebdc6ad0796bb6699c1ec121d98add89 - Cache zstd/1.5.2:e5579fcee29af0641eb1a105b19fb6eda6c40d0f - Cache Cross-build from 'Linux:x86_64' to 'Android:armv8' Installing (downloading, building) binaries... ade/0.1.1f: Already installed! eigen/3.3.9: Already installed! jbig/20160605: Already installed! jbig/20160605: Appending PATH environment variable: /home/conan/.conan/data/jbig/20160605/_/_/package/d62769c967213f5b842142939ad92bbebaddc845/bin libdeflate/1.9: Already installed! libjpeg/9d: Already installed! libwebp/1.2.2: Already installed! quirc/1.1: Already installed! xz_utils/5.2.5: Already installed! zlib/1.2.11: Already installed! zstd/1.5.2: Already installed! jasper/2.0.33: Already installed! libpng/1.6.37: Already installed! libtiff/4.3.0: Already installed! protobuf/3.17.1: Already installed! protobuf/3.17.1: Appending PATH environment variable: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin opencv/4.5.3: WARN: Build folder is dirty, removing it: /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb opencv/4.5.3: Copying sources to build folder opencv/4.5.3: Building your package in /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb opencv/4.5.3: Generator cmake created conanbuildinfo.cmake opencv/4.5.3: Generator cmake_find_package created FindJasper.cmake opencv/4.5.3: Generator cmake_find_package created FindPNG.cmake opencv/4.5.3: Generator cmake_find_package created FindTIFF.cmake opencv/4.5.3: Generator cmake_find_package created FindEigen3.cmake opencv/4.5.3: Generator cmake_find_package created Findquirc.cmake opencv/4.5.3: Generator cmake_find_package created FindProtobuf.cmake opencv/4.5.3: Generator cmake_find_package created Findade.cmake opencv/4.5.3: Generator cmake_find_package created FindZLIB.cmake opencv/4.5.3: Generator cmake_find_package created FindJPEG.cmake opencv/4.5.3: Generator cmake_find_package created Findlibdeflate.cmake opencv/4.5.3: Generator cmake_find_package created FindLibLZMA.cmake opencv/4.5.3: Generator cmake_find_package created Findjbig.cmake opencv/4.5.3: Generator cmake_find_package created Findzstd.cmake opencv/4.5.3: Generator cmake_find_package created FindWebP.cmake opencv/4.5.3: Aggregating env generators opencv/4.5.3: Calling build() WARN: replace_in_file didn't find pattern 'if (ade_DIR)' in 'source_subfolder/modules/gapi/cmake/init.cmake' file. -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - 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: /android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler Clang>=8, checking major version 8 -- Conan: Checking correct version: 8 -- Conan: C++ stdlib: libc++ -- Detected processor: aarch64 -- Found PythonInterp: /opt/pyenv/versions/3.7.5/bin/python (found suitable version "3.7.5", minimum required is "2.7") CMake Warning at source_subfolder/cmake/OpenCVDetectPython.cmake:81 (message): CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version: PYTHON_EXECUTABLE=/opt/pyenv/versions/3.7.5/bin/python PYTHON_VERSION_STRING=3.7.5 Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line or environment variables Call Stack (most recent call first): source_subfolder/cmake/OpenCVDetectPython.cmake:271 (find_python) source_subfolder/CMakeLists.txt:620 (include) -- Could NOT find Python2 (missing: Python2_EXECUTABLE Interpreter) Reason given by package: Interpreter: Wrong major version for the interpreter "/opt/pyenv/versions/3.7.5/bin/python" -- Found PythonInterp: /opt/pyenv/versions/3.7.5/bin/python3 (found suitable version "3.7.5", minimum required is "3.2") -- Looking for ccache - not found -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS -- Performing Test HAVE_C_WERROR_ADDRESS - Success -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Success -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_C_QUNUSED_ARGUMENTS -- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_CPU_NEON_SUPPORT (check file: source_subfolder/cmake/checks/cpu_neon.cpp) -- Performing Test HAVE_CPU_NEON_SUPPORT - Success -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: source_subfolder/cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CPU_FP16_SUPPORT - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Success -- OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- 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 unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.11 (found suitable version "1.2.11", minimum required is "1.2.3") -- Library z not found in package, might be system one -- Conan: Using autogenerated FindJPEG.cmake -- Found JPEG: 9d (found version "9d") -- Library jpeg found /home/conan/.conan/data/libjpeg/9d/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/libjpeg.a -- Found: /home/conan/.conan/data/libjpeg/9d/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/libjpeg.a -- Conan: Using autogenerated FindTIFF.cmake -- Found TIFF: 4.3.0 (found version "4.3.0") -- Library tiffxx found /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiffxx.a -- Found: /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiffxx.a -- Library tiff found /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiff.a -- Found: /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiff.a -- Dependency ZLIB already found -- Conan: Using autogenerated Findlibdeflate.cmake -- Found libdeflate: 1.9 (found version "1.9") -- Library deflate found /home/conan/.conan/data/libdeflate/1.9/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/libdeflate.a -- Found: /home/conan/.conan/data/libdeflate/1.9/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/libdeflate.a -- Conan: Using autogenerated FindLibLZMA.cmake -- Found LibLZMA: 5.2.5 (found version "5.2.5") -- Library lzma found /home/conan/.conan/data/xz_utils/5.2.5/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/liblzma.a -- Found: /home/conan/.conan/data/xz_utils/5.2.5/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/liblzma.a -- Dependency JPEG already found -- Conan: Using autogenerated Findjbig.cmake -- Found jbig: 20160605 (found version "20160605") -- Library jbig found /home/conan/.conan/data/jbig/20160605/_/_/package/d62769c967213f5b842142939ad92bbebaddc845/lib/libjbig.a -- Found: /home/conan/.conan/data/jbig/20160605/_/_/package/d62769c967213f5b842142939ad92bbebaddc845/lib/libjbig.a -- Conan: Using autogenerated Findzstd.cmake -- Found zstd: 1.5.2 (found version "1.5.2") -- Library zstd found /home/conan/.conan/data/zstd/1.5.2/_/_/package/e5579fcee29af0641eb1a105b19fb6eda6c40d0f/lib/libzstd.a -- Found: /home/conan/.conan/data/zstd/1.5.2/_/_/package/e5579fcee29af0641eb1a105b19fb6eda6c40d0f/lib/libzstd.a -- Library zstd found /home/conan/.conan/data/zstd/1.5.2/_/_/package/e5579fcee29af0641eb1a105b19fb6eda6c40d0f/lib/libzstd.a -- Found: /home/conan/.conan/data/zstd/1.5.2/_/_/package/e5579fcee29af0641eb1a105b19fb6eda6c40d0f/lib/libzstd.a -- Conan: Using autogenerated FindWebP.cmake -- Found WebP: 1.2.2 (found version "1.2.2") -- Library webpdecoder found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdecoder.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdecoder.a -- Library webpdemux found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdemux.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdemux.a -- Library webpmux found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpmux.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpmux.a -- Library webp found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a -- Library webp found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a -- Library webpmux found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpmux.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpmux.a -- Library webpdemux found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdemux.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdemux.a -- Library webpdecoder found /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdecoder.a -- Found: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebpdecoder.a -- Found WebP: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a -- Conan: Using autogenerated FindJasper.cmake -- Found Jasper: 2.0.33 (found version "2.0.33") -- Library jasper found /home/conan/.conan/data/jasper/2.0.33/_/_/package/e3514ff267749c3a51b0c31d8d4a42976c669c8e/lib/libjasper.a -- Found: /home/conan/.conan/data/jasper/2.0.33/_/_/package/e3514ff267749c3a51b0c31d8d4a42976c669c8e/lib/libjasper.a -- Dependency JPEG already found -- Conan: Using autogenerated FindPNG.cmake -- Found PNG: 1.6.37 (found version "1.6.37") -- Library png16 found /home/conan/.conan/data/libpng/1.6.37/_/_/package/146082f2a0918e5ecae93ad6065ddf593e0720ff/lib/libpng16.a -- Found: /home/conan/.conan/data/libpng/1.6.37/_/_/package/146082f2a0918e5ecae93ad6065ddf593e0720ff/lib/libpng16.a -- Dependency ZLIB already found -- Looking for /libpng/png.h -- Looking for /libpng/png.h - not found -- Conan: Using autogenerated FindEigen3.cmake -- Conan: Using autogenerated FindProtobuf.cmake -- Library protoc found /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotoc.a -- Found: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotoc.a -- Library protobuf found /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotobuf.a -- Found: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotobuf.a -- Conan: Dependency ZLIB already found -- Library protobuf found /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotobuf.a -- Found: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotobuf.a -- Library protoc found /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotoc.a -- Found: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotoc.a -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Conan: Using autogenerated Findade.cmake -- Found ade: 0.1.1f (found version "0.1.1f") -- Library ade found /home/conan/.conan/data/ade/0.1.1f/_/_/package/d6e0179ce95dbd07756cbd2cf2969c9500cfe501/lib/libade.a -- Found: /home/conan/.conan/data/ade/0.1.1f/_/_/package/d6e0179ce95dbd07756cbd2cf2969c9500cfe501/lib/libade.a -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Allocator metrics storage type: 'int' -- Excluding from source files list: modules/imgproc/src/corner.avx.cpp -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: modules/imgproc/src/imgwarp.sse4_1.cpp -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp -- Excluding from source files list: modules/imgproc/src/resize.sse4_1.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success -- opencv_dnn: filter out ocl4dnn source code -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: /modules/dnn/layers/layers_common.avx.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx2.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx512_skx.cpp -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- highgui: using builtin backend: NONE -- Android OpenCV Manager is ignored -- -- General configuration for OpenCV 4.5.3 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2022-03-21T08:32:45Z -- Host: Linux 5.13.0-35-generic x86_64 -- Target: Android 1 aarch64 -- CMake: 3.18.2 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: Release -- -- CPU/HW features: -- Baseline: NEON FP16 -- required: NEON -- -- C/C++: -- Built as dynamic libs?: NO -- C++ standard: 11 -- C++ Compiler: /android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ (ver 8.0) -- C++ flags (Release): -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -stdlib=libc++ -stdlib=libc++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -stdlib=libc++ -stdlib=libc++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O0 -fno-limit-debug-info -DDEBUG -D_DEBUG -- C Compiler: /android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- C flags (Release): -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DNDEBUG -- C flags (Debug): -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O0 -fno-limit-debug-info -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: ade::ade /home/conan/.conan/data/libjpeg/9d/_/_/package/3cc1debdebdc6ad0796bb6699c1ec121d98add89/lib/libjpeg.a /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a /home/conan/.conan/data/libpng/1.6.37/_/_/package/146082f2a0918e5ecae93ad6065ddf593e0720ff/lib/libpng16.a /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiffxx.a /home/conan/.conan/data/libtiff/4.3.0/_/_/package/22edcf86a1d8f4491cf8ff92f61bb6bdff88ddef/lib/libtiff.a /home/conan/.conan/data/jasper/2.0.33/_/_/package/e3514ff267749c3a51b0c31d8d4a42976c669c8e/lib/libjasper.a z quirc dl m log -- 3rdparty dependencies: libcpufeatures tegra_hal -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching video videoio -- Disabled: world -- Disabled by dependency: - -- Unavailable: java python2 python3 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- Android NDK: /android-ndk-r19c (ver 19.2.5345600) -- Android ABI: arm64-v8a -- NDK toolchain: aarch64-linux-android-clang -- STL type: c++_static -- Native API level: 21 -- Android SDK: (tools: build tools: ) -- -- GUI: -- -- Media I/O: -- ZLib: z (ver ) -- JPEG: (ver 90) -- WEBP: /home/conan/.conan/data/libwebp/1.2.2/_/_/package/8715f97ffc2f4a76a972ec0a7955bd7d9337a74d/lib/libwebp.a (ver encoder: 0x020f) -- PNG: (ver ..) -- TIFF: (ver 42 / 4.3.0) -- JPEG 2000: (ver 2.0.33) -- HDR: NO -- SUNRASTER: NO -- PXM: NO -- PFM: NO -- -- Video I/O: -- -- Parallel framework: pthreads -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Eigen: YES (ver ..) -- Custom HAL: YES (carotene (ver 0.0.1)) -- Protobuf: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotoc.a /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/lib/libprotobuf.a (3.17.1) -- -- Python (for build): /opt/pyenv/versions/3.7.5/bin/python3 -- -- Install to: /home/conan/.conan/data/opencv/4.5.3/_/_/package/50f83760ef86284dbb2bbd935e00ee75951557eb -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/build_subfolder Scanning dependencies of target opencv_highgui_plugins Scanning dependencies of target opencv_videoio_plugins Scanning dependencies of target libcpufeatures Scanning dependencies of target carotene_objs [ 0%] Built target opencv_highgui_plugins [ 0%] Built target opencv_videoio_plugins [ 0%] Building C object source_subfolder/3rdparty/cpufeatures/CMakeFiles/libcpufeatures.dir/cpu-features.c.o [ 0%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/absdiff.cpp.o [ 0%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/accumulate.cpp.o [ 0%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/add.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/add_weighted.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/bitwise.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/blur.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/canny.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/channel_extract.cpp.o [ 1%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/channels_combine.cpp.o [ 2%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/cmp.cpp.o [ 2%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/colorconvert.cpp.o [ 2%] Linking C static library ../../../lib/libcpufeatures.a [ 2%] Built target libcpufeatures [ 2%] Building CXX object source_subfolder/3rdparty/carotene/hal/carotene/CMakeFiles/carotene_objs.dir/src/common.cpp.o ... [ 24%] Building CXX object source_subfolder/modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 24%] Linking CXX static library ../../../lib/libopencv_core.a [ 24%] Built target opencv_core Scanning dependencies of target opencv_flann Scanning dependencies of target opencv_ml [ 24%] Processing OpenCL kernels (imgproc) [ 24%] Building CXX object source_subfolder/modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o [ 24%] Building CXX object source_subfolder/modules/flann/CMakeFiles/opencv_flann.dir/src/miniflann.cpp.o Scanning dependencies of target opencv_imgproc [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/ann_mlp.cpp.o [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/gbt.cpp.o [ 25%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o [ 26%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/kdtree.cpp.o [ 26%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/knearest.cpp.o [ 26%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/lr.cpp.o [ 26%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o [ 26%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o [ 26%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/nbayes.cpp.o [ 26%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/rtrees.cpp.o [ 27%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o [ 27%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/svm.cpp.o [ 28%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/svmsgd.cpp.o [ 28%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/testset.cpp.o [ 28%] Building CXX object source_subfolder/modules/ml/CMakeFiles/opencv_ml.dir/src/tree.cpp.o [ 28%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o [ 28%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o [ 28%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o [ 28%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o [ 28%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.dispatch.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.dispatch.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.dispatch.cpp.o [ 29%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o [ 30%] Linking CXX static library ../../../lib/libopencv_ml.a [ 30%] Built target opencv_ml [ 30%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o [ 31%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.dispatch.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o [ 32%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intelligent_scissors.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o [ 33%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o [ 34%] Linking CXX static library ../../../lib/libopencv_flann.a [ 34%] Built target opencv_flann [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.dispatch.cpp.o [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o [ 34%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.dispatch.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o [ 35%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.dispatch.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o [ 36%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.dispatch.cpp.o [ 37%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o [ 37%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o [ 37%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o [ 37%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o [ 37%] Building CXX object source_subfolder/modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o [ 37%] Linking CXX static library ../../../lib/libopencv_imgproc.a [ 37%] Built target opencv_imgproc [ 37%] Processing OpenCL kernels (photo) [ 37%] Processing OpenCL kernels (features2d) Scanning dependencies of target opencv_imgcodecs [ 37%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/versions.proto. Custom options: [ 37%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/caffe/opencv-caffe.proto. Custom options: [ 38%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/onnx/opencv-onnx.proto. Custom options: [ 38%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/attr_value.proto. Custom options: [ 38%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/function.proto. Custom options: [ 38%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/graph.proto. Custom options: [ 38%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/op_def.proto. Custom options: [ 39%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/tensor.proto. Custom options: [ 39%] Running cpp protocol buffer compiler on /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/source_subfolder/modules/dnn/src/tensorflow/tensor_shape.proto. Custom options: /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:81: recipe for target 'source_subfolder/modules/dnn/opencv-caffe.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/opencv-caffe.pb.h] Error 2 make[2]: *** Waiting for unfinished jobs.... source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:153: recipe for target 'source_subfolder/modules/dnn/versions.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/versions.pb.h] Error 2 source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:97: recipe for target 'source_subfolder/modules/dnn/attr_value.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/attr_value.pb.h] Error 2 source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:89: recipe for target 'source_subfolder/modules/dnn/opencv-onnx.pb.h' failed /bin/sh: 1: make[2]: *** [source_subfolder/modules/dnn/opencv-onnx.pb.h] Error 2 /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:113: recipe for target 'source_subfolder/modules/dnn/graph.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/graph.pb.h] Error 2 /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:121: recipe for target 'source_subfolder/modules/dnn/op_def.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/op_def.pb.h] Error 2 source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:129: recipe for target 'source_subfolder/modules/dnn/tensor.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/tensor.pb.h] Error 2 /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:105: recipe for target 'source_subfolder/modules/dnn/function.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/function.pb.h] Error 2 /bin/sh: 1: /home/conan/.conan/data/protobuf/3.17.1/_/_/package/947dcc241f91eec7f98ad3ef6b204315a6d0df0a/bin/protoc: Exec format error source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/build.make:137: recipe for target 'source_subfolder/modules/dnn/tensor_shape.pb.h' failed make[2]: *** [source_subfolder/modules/dnn/tensor_shape.pb.h] Error 2 Scanning dependencies of target opencv_photo CMakeFiles/Makefile2:1531: recipe for target 'source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/all' failed make[1]: *** [source_subfolder/modules/dnn/CMakeFiles/opencv_dnn.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Scanning dependencies of target opencv_features2d [ 39%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/align.cpp.o [ 39%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o [ 39%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/contrast_preserve.cpp.o [ 39%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/denoise_tvl1.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cuda.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/merge.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/npr.cpp.o [ 40%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/inpaint.cpp.o [ 40%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o [ 40%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/affine_feature.cpp.o [ 41%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning.cpp.o [ 41%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o [ 42%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o [ 42%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o [ 42%] Building CXX object source_subfolder/modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o [ 43%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast.cpp.o [ 43%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o [ 43%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast_score.cpp.o [ 43%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o [ 43%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/akaze.cpp.o [ 43%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o [ 43%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o [ 43%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.cpp.o [ 43%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o [ 43%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.cpp.o [ 44%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o [ 44%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/brisk.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.cpp.o [ 45%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.cpp.o [ 45%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o [ 45%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000_openjpeg.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.cpp.o [ 45%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o [ 45%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pfm.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast_score.cpp.o [ 45%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/feature2d.cpp.o [ 46%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/gftt.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o [ 47%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze.cpp.o [ 47%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/AKAZEFeatures.cpp.o [ 47%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/KAZEFeatures.cpp.o [ 47%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o [ 47%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o [ 47%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o [ 48%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o [ 48%] Building CXX object source_subfolder/modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o [ 49%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/src/sift.dispatch.cpp.o [ 50%] Building CXX object source_subfolder/modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o [ 50%] Linking CXX static library ../../../lib/libopencv_imgcodecs.a [ 50%] Built target opencv_imgcodecs [ 50%] Linking CXX static library ../../../lib/libopencv_photo.a [ 50%] Built target opencv_photo [ 50%] Linking CXX static library ../../../lib/libopencv_features2d.a [ 50%] Built target opencv_features2d Makefile:170: recipe for target 'all' failed make: *** [all] Error 2 opencv/4.5.3: opencv/4.5.3: ERROR: Package '50f83760ef86284dbb2bbd935e00ee75951557eb' build failed opencv/4.5.3: WARN: Build folder /home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb ERROR: opencv/4.5.3: Error in build() method, line 498 cmake.build() ConanException: Error 2 while executing /cmake-wrapper --build '/home/conan/.conan/data/opencv/4.5.3/_/_/build/50f83760ef86284dbb2bbd935e00ee75951557eb/build_subfolder' '--' '-j12' ```
SpaceIm commented 2 years ago

cross-build must use 2 profiles, not 1 profile.

AndreyMlashkin commented 2 years ago

I am running it in docker image conanio/android-clang8-armv8, isn't it enough? It worked for all opencv dependencies. How it should be built then?

SpaceIm commented 2 years ago

2 profiles as I said.

AndreyMlashkin commented 2 years ago

Could you please give me an example?

SpaceIm commented 2 years ago

https://github.com/conan-io/conan-center-index/issues/9005#issuecomment-1018441082