반응형

Android용으로 OpenCV 4.4.0을 빌드하는 방법을 다룹니다.



2018. 11. 19 : 최초 작성

2019. 5. 8 

2019. 5. 15 : contrib 추가

2019. 5. 16 : nonfree 옵션 추가 (surf 사용시 필요)

2019. 5. 16 : opencl 활성화   

2019. 8. 14 : OpenCV 4.1.1을 빌드  

2020. 9. 27 : OpenCV 4.4.0을 빌드



테스트 환경


Windows 10

OpenCV 4.4.0

Android Studio 4.0.1

Android 10.0+ (R), API 30

NDK 21.3 




반응형

포스트 작성시에는 문제 없었지만 이후 문제가 생길 수 있습니다.
댓글로 알려주시면 빠른 시일내에 답변을 드리겠습니다.

여러분의 응원으로 좋은 컨텐츠가 만들어집니다.
지금 본 내용이 도움이 되었다면 유튜브 구독 부탁드립니다. 감사합니다 : )

유튜브 구독하기


제가 쓴 책도 한번 검토해보세요.

  1. 이전 댓글 더보기
  2. LeeJae 2019.06.01 18:57

    Sdk Manager 28.0.3 만 설치하는 이유는 무엇인가요 ?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.06.01 18:58 신고

      최신 버전으로 하면 에러가 날듯해서 적어놓은 것입니다. 아직은 이후 버전으로 해도 문제가 없습니다

    • 또끼심심 2019.06.21 15:36

      저 NDK 버전이 20 입니다. 혹시 이게 문제 일수 도 있나요?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.06.21 15:39 신고

      NDK 20 버전은 문제 없었습니다.

      28.0.3을 사용 해야 하는것 외에는 다른 문제는 없습니다.

  3. 2019.06.20 17:53

    비밀댓글입니다

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.06.20 21:25 신고

      어떤 에러 메시지가 보이나요?

    • 또끼심심 2019.06.21 12:15

      C:\opencv-sources\opencv-4.1.0\build>cmake -GNinja -DCMAKE_INSTALL_PREFIX=C:/OpenCV-android-sdk -DANDROID_PROJECTS_BUILD_TYPE="ANT" -DBUILD_ANDROID_PROJECTS=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=ON -DBUILD_opencv_java=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_FAT_JAVA_LIB=ON -DBUILD_PYTHON=OFF -DINSTALL_ANDROID_EXAMPLES=OFF -DANDROID_EXAMPLES_WITH_LIBS=OFF -DBUILD_DOCS=OFF -DWITH_OPENCL=ON -DANDROID_NDK_HOST_X64=ON -DCMAKE_TOOLCHAIN_FILE=C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_NDK=C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle -DANDROID_SDK=C:/Users/ub/AppData/Local/Android/Sdk -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_static -DANDROID_ARM_NEON=ON -DANDROID_ABI=arm64-v8a -DOPENCV_EXTRA_MODULES_PATH=C:\opencv-sources\opencv_contrib-4.1.0\modules -DOPENCV_ENABLE_NONFREE=ON -DANDROID_NATIVE_API_LEVEL=16 -DANDROID_SDK_TARGET=28 ..
      -- Check for working CXX compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
      -- Check for working CXX compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Check for working C compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
      -- Check for working C compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
      -- Found PythonInterp: C:/Users/ub/AppData/Local/Programs/Python/Python37/python.exe (found suitable version "3.7.3", 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: cmake/checks/cpu_neon.cpp)
      -- Performing Test HAVE_CPU_NEON_SUPPORT - Success
      -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: 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
      -- 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
      -- Using unsigned short
      -- Check if the system is big endian - little endian
      -- Found ZLIB: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/libz.a (found suitable version "1.2.7", minimum required is "1.2.3")
      -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER
      -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
      -- Performing Test HAVE_C_WNO_SIGN_COMPARE
      -- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
      -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
      -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success
      -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
      -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
      -- libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.1.0-libjpeg-turbo
      -- Check size of size_t
      -- Check size of size_t - done
      -- Check size of unsigned long
      -- Check size of unsigned long - done
      -- Performing Test HAVE_BUILTIN_CTZL
      -- Performing Test HAVE_BUILTIN_CTZL - Success
      -- Looking for include file locale.h
      -- Looking for include file locale.h - found
      -- Looking for include file stdlib.h
      -- Looking for include file stdlib.h - found
      -- Looking for include file sys/types.h
      -- Looking for include file sys/types.h - found
      -- Looking for assert.h
      -- Looking for assert.h - found
      -- Looking for dlfcn.h
      -- Looking for dlfcn.h - found
      -- Looking for fcntl.h
      -- Looking for fcntl.h - found
      -- Looking for inttypes.h
      -- Looking for inttypes.h - found
      -- Looking for io.h
      -- Looking for io.h - not found
      -- Looking for limits.h
      -- Looking for limits.h - found
      -- Looking for memory.h
      -- Looking for memory.h - found
      -- Looking for search.h
      -- Looking for search.h - found
      -- Looking for string.h
      -- Looking for string.h - found
      -- Looking for strings.h
      -- Looking for strings.h - found
      -- Looking for sys/time.h
      -- Looking for sys/time.h - found
      -- Looking for unistd.h
      -- Looking for unistd.h - found
      -- Performing Test C_HAS_inline
      -- Performing Test C_HAS_inline - Success
      -- Check size of signed short
      -- Check size of signed short - done
      -- Check size of unsigned short
      -- Check size of unsigned short - done
      -- Check size of signed int
      -- Check size of signed int - done
      -- Check size of unsigned int
      -- Check size of unsigned int - done
      -- Check size of signed long
      -- Check size of signed long - done
      -- Check size of signed long long
      -- Check size of signed long long - done
      -- Check size of unsigned long long
      -- Check size of unsigned long long - done
      -- Check size of unsigned char *
      -- Check size of unsigned char * - done
      -- Check size of ptrdiff_t
      -- Check size of ptrdiff_t - done
      -- Check size of INT8
      -- Check size of INT8 - failed
      -- Check size of INT16
      -- Check size of INT16 - failed
      -- Check size of INT32
      -- Check size of INT32 - failed
      -- Looking for floor
      -- Looking for floor - found
      -- Looking for pow
      -- Looking for pow - found
      -- Looking for sqrt
      -- Looking for sqrt - found
      -- Looking for isascii
      -- Looking for isascii - found
      -- Looking for memset
      -- Looking for memset - found
      -- Looking for mmap
      -- Looking for mmap - found
      -- Looking for getopt
      -- Looking for getopt - found
      -- Looking for memmove
      -- Looking for memmove - found
      -- Looking for setmode
      -- Looking for setmode - not found
      -- Looking for strcasecmp
      -- Looking for strcasecmp - found
      -- Looking for strchr
      -- Looking for strchr - found
      -- Looking for strrchr
      -- Looking for strrchr - found
      -- Looking for strstr
      -- Looking for strstr - found
      -- Looking for strtol
      -- Looking for strtol - found
      -- Looking for strtol
      -- Looking for strtol - found
      -- Looking for strtoull
      -- Looking for strtoull - found
      -- Looking for lfind
      -- Looking for lfind - found
      -- Performing Test HAVE_SNPRINTF
      -- Performing Test HAVE_SNPRINTF - Success
      -- Check if the system is big endian
      -- Searching 16 bit integer
      -- Using unsigned short
      -- Check if the system is big endian - little endian
      -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
      -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed
      -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
      -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
      -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
      -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
      -- Performing Test HAVE_C_WNO_UNDEF
      -- Performing Test HAVE_C_WNO_UNDEF - Success
      -- Performing Test HAVE_C_WNO_UNUSED
      -- Performing Test HAVE_C_WNO_UNUSED - Success
      -- Performing Test HAVE_C_WNO_CAST_ALIGN
      -- Performing Test HAVE_C_WNO_CAST_ALIGN - Success
      -- Performing Test HAVE_C_WNO_SHADOW
      -- Performing Test HAVE_C_WNO_SHADOW - Success
      -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
      -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed
      -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST
      -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success
      -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST
      -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success
      -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION
      -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed
      -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
      -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
      -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
      -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
      -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
      -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success
      -- Performing Test HAVE_CXX_WNO_UNDEF
      -- Performing Test HAVE_CXX_WNO_UNDEF - Success
      -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
      -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
      -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION
      -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
      -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
      -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
      -- Performing Test HAVE_C_WNO_UNINITIALIZED
      -- Performing Test HAVE_C_WNO_UNINITIALIZED - Success
      -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
      -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Failed
      -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
      -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
      -- Performing Test HAVE_C_WNO_POINTER_COMPARE
      -- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed
      -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE
      -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Success
      -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
      -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
      -- Looking for semaphore.h
      -- Looking for semaphore.h - found
      -- Performing Test HAVE_CXX_WNO_SHADOW
      -- Performing Test HAVE_CXX_WNO_SHADOW - Success
      -- Performing Test HAVE_CXX_WNO_UNUSED
      -- Performing Test HAVE_CXX_WNO_UNUSED - Success
      -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
      -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
      -- Performing Test HAVE_CXX_WNO_UNINITIALIZED
      -- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
      -- Performing Test HAVE_CXX_WNO_SWITCH
      -- Performing Test HAVE_CXX_WNO_SWITCH - Success
      -- Performing Test HAVE_CXX_WNO_PARENTHESES
      -- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
      -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
      -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
      -- Performing Test HAVE_CXX_WNO_EXTRA
      -- Performing Test HAVE_CXX_WNO_EXTRA - Success
      -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
      -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
      -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
      -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed
      -- Performing Test HAVE_CXX_WNO_DEPRECATED
      -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
      -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
      -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed
      -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
      -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success
      -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
      -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
      -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
      -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success
      -- Performing Test HAVE_CXX_WNO_SIGN_PROMO
      -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
      -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
      -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success
      -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
      -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
      -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
      -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
      -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
      -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success
      -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
      -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success
      -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
      -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success
      -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH
      -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success
      -- Android: fixup -g compiler option from Android toolchain
      -- Android SDK Tools: ver. 25.2.5
      -- Android SDK Build Tools: ver. 28.0.3 (subdir 28.0.3 from 28.0.3)
      -- Found apache ant: C:/ant/bin/ant.bat (1.10.6)
      -- Android SDK Tools: Ant (Eclipse) builds are supported
      -- Android SDK Tools: Prepare Android projects for using Ant build scripts (deprecated)
      -- Android SDK Tools: Found 'android' tool: C:/Users/ub/AppData/Local/Android/Sdk/tools/android.bat
      -- Android SDK Tools: Available targets: android-27;android-28
      -- Performing Test CXX_HAS_MFPU_NEON
      -- Performing Test CXX_HAS_MFPU_NEON - Success
      -- Performing Test C_HAS_MFPU_NEON
      -- Performing Test C_HAS_MFPU_NEON - Success
      -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
      -- Caffe: NO
      -- Protobuf: NO
      -- Glog: NO
      -- freetype2: NO
      -- harfbuzz: NO
      -- Module opencv_ovis disabled because OGRE3D was not found
      -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
      -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
      -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
      -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
      -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
      -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
      -- 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
      -- Excluding from source files list: modules/imgproc/src/sumpixels.avx512_skx.cpp
      -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx.cpp
      -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx2.cpp
      -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp
      -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp
      -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
      -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success
      -- Excluding from source files list: modules/calib3d/src/undistort.avx2.cpp
      -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i
      -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
      -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
      -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
      -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
      -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
      -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
      -- xfeatures2d/vgg: Download: vgg_generated_48.i
      -- xfeatures2d/vgg: Download: vgg_generated_64.i
      -- xfeatures2d/vgg: Download: vgg_generated_80.i
      -- xfeatures2d/vgg: Download: vgg_generated_120.i
      -- data: Download: face_landmark_model.dat
      -- Sample example-tutorial-4-opencl is disabled, because ANDROID_OPENCL_SDK is not specified
      --
      -- General configuration for OpenCV 4.1.0 =====================================
      -- Version control: unknown
      --
      -- Extra modules:
      -- Location (extra): C:/opencv-sources/opencv_contrib-4.1.0/modules
      -- Version control (extra): unknown
      --
      -- Platform:
      -- Timestamp: 2019-06-21T02:10:49Z
      -- Host: Windows 10.0.17763 AMD64
      -- Target: Android 1 aarch64
      -- CMake: 3.14.5
      -- CMake generator: Ninja
      -- CMake build tool: C:/ninja/ninja.exe
      -- Configuration: Release
      --
      -- CPU/HW features:
      -- Baseline: NEON FP16
      --
      -- C/C++:
      -- Built as dynamic libs?: NO
      -- C++ Compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe (ver 8.0)
      -- C++ flags (Release): -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 -Winit-self -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): -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 -Winit-self -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 -g
      -- C Compiler: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
      -- C flags (Release): -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 -Winit-self -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): -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 -Winit-self -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 -g
      -- 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
      -- 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
      -- ccache: NO
      -- Precompiled headers: NO
      -- Extra dependencies: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/libz.a dl m log
      -- 3rdparty dependencies: libcpufeatures libprotobuf libjpeg-turbo libwebp libpng libtiff libjasper IlmImf quirc tegra_hal
      --
      -- OpenCV modules:
      -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java line_descriptor ml objdetect optflow phase_unwrapping photo plot quality reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
      -- Disabled: world
      -- Disabled by dependency: -
      -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype gapi hdf js matlab ovis python2 python3 sfm ts viz
      -- Applications: android_examples
      -- Documentation: NO
      -- Non-free algorithms: YES
      --
      -- Android NDK: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle (ver 20.0.5594570)
      -- Android ABI: arm64-v8a
      -- NDK toolchain: aarch64-linux-android-clang
      -- STL type: c++_static
      -- Native API level: 21
      -- Android SDK: C:/Users/ub/AppData/Local/Android/Sdk (tools: 25.2.5 build tools: 28.0.3)
      -- android tool: C:/Users/ub/AppData/Local/Android/Sdk/tools/android.bat
      -- SDK target: android-28
      -- Projects build scripts: Ant/Eclipse compatible
      --
      -- GUI:
      --
      -- Media I/O:
      -- ZLib: C:/Users/ub/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/libz.a (ver 1.2.7)
      -- JPEG: build-libjpeg-turbo (ver 2.0.2-62)
      -- WEBP: build (ver encoder: 0x020e)
      -- PNG: build (ver 1.6.36)
      -- TIFF: build (ver 42 - 4.0.10)
      -- JPEG 2000: build (ver 1.900.1)
      -- OpenEXR: build (ver 1.7.1)
      -- HDR: YES
      -- SUNRASTER: YES
      -- PXM: YES
      -- PFM: YES
      --
      -- Video I/O:
      --
      -- Parallel framework: pthreads
      --
      -- Trace: YES (built-in)
      --
      -- Other third-party libraries:
      -- Custom HAL: YES (carotene (ver 0.0.1))
      -- Protobuf: build (3.5.1)
      --
      -- OpenCL: YES (no extra features)
      -- Include path: C:/opencv-sources/opencv-4.1.0/3rdparty/include/opencl/1.2
      -- Link libraries: Dynamic load
      --
      -- Python (for build): C:/Users/ub/AppData/Local/Programs/Python/Python37/python.exe
      --
      -- Java: export all functions
      -- ant: C:/ant/bin/ant.bat (ver 1.10.6)
      -- Java wrappers: YES
      -- Java tests: NO
      --
      -- Install to: C:/OpenCV-android-sdk
      -- -----------------------------------------------------------------
      --
      -- Configuring done
      -- Generating done
      -- Build files have been written to: C:/opencv-sources/opencv-4.1.0/build

      C:\opencv-sources\opencv-4.1.0\build>ninja -j4
      [469/1267] Copy project sources: example-15-puzzle
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/15-puzzle' with 6 files
      COPYFILES: Copying: 'samples/android/15-puzzle/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/15-puzzle/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/15-puzzle/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/15-puzzle/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/15-puzzle/.build/src/org/opencv/samples/puzzle15/Puzzle15Activity.java' ...COPYFILES: Copying: 'samples/android/15-puzzle/.build/src/org/opencv/samples/puzzle15/Puzzle15Processor.java' ...
      COPYFILES: Updated!
      [470/1267] Copy project sources: example-face-detection
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/face-detection' with 8 files
      COPYFILES: Copying: 'samples/android/face-detection/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/res/layout/face_detect_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/res/raw/lbpcascade_frontalface.xml' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/src/org/opencv/samples/facedetect/DetectionBasedTracker.java' ...
      COPYFILES: Copying: 'samples/android/face-detection/.build/src/org/opencv/samples/facedetect/FdActivity.java' ...
      COPYFILES: Updated!
      [471/1267] Copy project sources: example-image-manipulations
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/image-manipulations' with 6 files
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/res/layout/image_manipulations_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/image-manipulations/.build/src/org/opencv/samples/imagemanipulations/ImageManipulationsActivity.java' ...
      COPYFILES: Updated!
      [473/1267] Copy project sources: example-camera-calibration
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/camera-calibration' with 10 files
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/res/layout/camera_calibration_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/res/menu/calibration.xml' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/src/org/opencv/samples/cameracalibration/CalibrationResult.java' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/src/org/opencv/samples/cameracalibration/CameraCalibrationActivity.java' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/src/org/opencv/samples/cameracalibration/CameraCalibrator.java' ...
      COPYFILES: Copying: 'samples/android/camera-calibration/.build/src/org/opencv/samples/cameracalibration/OnCameraFrameRender.java' ...
      COPYFILES: Updated!
      [474/1267] Copy project sources: example-color-blob-detection
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/color-blob-detection' with 7 files
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/res/layout/color_blob_detection_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionActivity.java' ...
      COPYFILES: Copying: 'samples/android/color-blob-detection/.build/src/org/opencv/samples/colorblobdetect/ColorBlobDetector.java' ...
      COPYFILES: Updated!
      [475/1267] Copy project sources: example-tutorial-1-camerapreview
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/tutorial-1-camerapreview' with 6 files
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/res/layout/tutorial1_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-1-camerapreview/.build/src/org/opencv/samples/tutorial1/Tutorial1Activity.java' ...
      COPYFILES: Updated!
      [476/1267] Copy project sources: example-tutorial-2-mixedprocessing
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/tutorial-2-mixedprocessing' with 6 files
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/res/layout/tutorial2_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-2-mixedprocessing/.build/src/org/opencv/samples/tutorial2/Tutorial2Activity.java' ...
      COPYFILES: Updated!
      [477/1267] Copy project sources: example-tutorial-3-cameracontrol
      COPYFILES: ... 1 entries (SRC_COPY)
      COPYFILES: ... directory '.../android/tutorial-3-cameracontrol' with 7 files
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/gradle/AndroidManifest.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/res/drawable/icon.png' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/res/layout/tutorial3_surface_view.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/res/values/strings.xml' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/src/org/opencv/samples/tutorial3/Tutorial3Activity.java' ...
      COPYFILES: Copying: 'samples/android/tutorial-3-cameracontrol/.build/src/org/opencv/samples/tutorial3/Tutorial3View.java' ...
      COPYFILES: Updated!
      [486/1267] Generate files for Java bindings
      duplicated: CLASS cv::.Algorithm :
      SKIP:void cv::Algorithm::read(FileNode fn) due to ARG type FileNode/I
      SKIP:void cv::Algorithm::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I
      SKIP:void cv::dnn::Net::forward(vector_vector_Mat& outputBlobs, vector_String outBlobNames) due to ARG type vector_vector_Mat/O
      SKIP:void cv::dnn::Net::getLayersShapes(MatShape netInputShape, vector_int& layersIds, vector_vector_MatShape& inLayersShapes, vector_vector_MatShape& outLayersShapes) due to ARG type vector_vector_MatShape/O
      SKIP:void cv::dnn::Net::getLayersShapes(vector_MatShape netInputShapes, vector_int& layersIds, vector_vector_MatShape& inLayersShapes, vector_vector_MatShape& outLayersShapes) due to ARG type vector_vector_MatShape/O
      SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getBackends() due to RET type vector_VideoCaptureAPIs
      SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getCameraBackends() due to RET type vector_VideoCaptureAPIs
      SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getStreamBackends() due to RET type vector_VideoCaptureAPIs
      SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getWriterBackends() due to RET type vector_VideoCaptureAPIs
      SKIP:void cv::Feature2D::read(FileNode arg1) due to ARG type FileNode/I
      SKIP:void cv::Feature2D::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I
      SKIP:uchar Params::blobColor due to RET type uchar
      SKIP:void Params::blobColor due to ARG type uchar/I
      SKIP:void cv::DescriptorMatcher::read(FileNode arg1) due to ARG type FileNode/I
      SKIP:void cv::DescriptorMatcher::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I
      SKIP:cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor(Ptr_DescriptorExtractor dextractor, Ptr_DescriptorMatcher dmatcher) due to ARG type Ptr_DescriptorExtractor/I
      duplicated: CLASS cv.text::OCRBeamSearchDecoder.ClassifierCallback :
      SKIP:Ptr_ERFilter cv::text::createERFilterNM1(Ptr_ERFilter_Callback cb, int thresholdDelta = 1, float minArea = (float)0.00025, float maxArea = (float)0.13, float minProbability = (float)0.4, bool nonMaxSuppression = true, float minProbabilityDiff = (float)0.1) due to ARG type Ptr_ERFilter_Callback/I
      SKIP:Ptr_ERFilter cv::text::createERFilterNM2(Ptr_ERFilter_Callback cb, float minProbability = (float)0.3) due to ARG type Ptr_ERFilter_Callback/I
      SKIP:Ptr_ERFilter_Callback cv::text::loadClassifierNM1(String filename) due to RET type Ptr_ERFilter_Callback
      SKIP:Ptr_ERFilter_Callback cv::text::loadClassifierNM2(String filename) due to RET type Ptr_ERFilter_Callback
      SKIP:Ptr_OCRBeamSearchDecoder_ClassifierCallback cv::text::loadOCRBeamSearchClassifierCNN(String filename) due to RET type Ptr_OCRBeamSearchDecoder_ClassifierCallback
      SKIP:Ptr_OCRHMMDecoder_ClassifierCallback cv::text::loadOCRHMMClassifier(String filename, int classifier) due to RET type Ptr_OCRHMMDecoder_ClassifierCallback
      SKIP:Ptr_OCRHMMDecoder_ClassifierCallback cv::text::loadOCRHMMClassifierCNN(String filename) due to RET type Ptr_OCRHMMDecoder_ClassifierCallback
      SKIP:Ptr_OCRHMMDecoder_ClassifierCallback cv::text::loadOCRHMMClassifierNM(String filename) due to RET type Ptr_OCRHMMDecoder_ClassifierCallback
      SKIP:static Ptr_OCRHMMDecoder cv::text::OCRHMMDecoder::create(Ptr_OCRHMMDecoder_ClassifierCallback classifier, String vocabulary, Mat transition_probabilities_table, Mat emission_probabilities_table, int mode = OCR_DECODER_VITERBI) due to ARG type Ptr_OCRHMMDecoder_ClassifierCallback/I
      SKIP:static Ptr_OCRBeamSearchDecoder cv::text::OCRBeamSearchDecoder::create(Ptr_OCRBeamSearchDecoder_ClassifierCallback classifier, String vocabulary, Mat transition_probabilities_table, Mat emission_probabilities_table, int mode = OCR_DECODER_VITERBI, int beam_size = 500) due to ARG type Ptr_OCRBeamSearchDecoder_ClassifierCallback/I
      duplicated: CONST CvLevMarq_DONE=0
      duplicated: CONST CvLevMarq_STARTED=1
      duplicated: CONST CvLevMarq_CALC_J=2
      duplicated: CONST CvLevMarq_CHECK_ERR=3
      SKIP:bool cv::findCirclesGrid(Mat image, Size patternSize, Mat& centers, int flags, Ptr_FeatureDetector blobDetector, CirclesGridFinderParameters parameters) due to ARG type Ptr_FeatureDetector/I
      SKIP:bool cv::CascadeClassifier::read(FileNode node) due to ARG type FileNode/I
      duplicated: CLASS cv.structured_light::SinusoidalPattern.Params :
      SKIP:bool cv::structured_light::StructuredLightPattern::decode(vector_vector_Mat patternImages, Mat& disparityMap, vector_Mat blackImages = vector_Mat(), vector_Mat whiteImages = vector_Mat(), int flags = DECODE_3D_UNDERWORLD) due to ARG type vector_vector_Mat/I
      SKIP:Vec4i cv::ximgproc::HoughPoint2Line(Point houghPoint, Mat srcImgInfo, int angleRange = ARO_315_135, int makeSkew = HDO_DESKEW, int rules = RO_IGNORE_BORDERS) due to RET type Vec4i
      SKIP:vector_vector_int CharucoBoard::nearestMarkerIdx due to RET type vector_vector_int
      SKIP:vector_vector_int CharucoBoard::nearestMarkerCorners due to RET type vector_vector_int
      SKIP:vector_pair_int_and_double cv::face::StandardCollector::getResults(bool sorted = false) due to RET type vector_pair_int_and_double
      JAVA: Processing OpenCV modules: 24
      Generated files: 356 (updated 356)
      [845/1267] Copy Java(Andoid SDK) source files
      COPYFILES: ... 3 entries (JAVA_SRC_COPY)
      COPYFILES: ... directory '.../gen/java' with 237 files
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/Aruco.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/Board.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/CharucoBoard.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/DetectorParameters.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/Dictionary.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/aruco/GridBoard.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorCNT.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorGMG.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorGSOC.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorLSBP.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorLSBPDesc.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/BackgroundSubtractorMOG.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/Bgsegm.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bgsegm/SyntheticSequenceGenerator.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bioinspired/Bioinspired.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bioinspired/Retina.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bioinspired/RetinaFastToneMapping.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/bioinspired/TransientAreasSegmentationModule.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/calib3d/Calib3d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/calib3d/StereoBM.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/calib3d/StereoMatcher.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/calib3d/StereoSGBM.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Algorithm.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Core.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/CvException.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/CvType.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/DMatch.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/KeyPoint.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Mat.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfByte.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfDMatch.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfDouble.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfFloat.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfFloat4.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfFloat6.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfInt.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfInt4.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfKeyPoint.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfPoint.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfPoint2f.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfPoint3.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfPoint3f.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfRect.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfRect2d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/MatOfRotatedRect.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Point.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Point3.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Range.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Rect.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Rect2d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/RotatedRect.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Scalar.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/Size.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/TermCriteria.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/core/TickMeter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/dnn/DictValue.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/dnn/Dnn.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/dnn/Layer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/dnn/Net.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/BIF.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/BasicFaceRecognizer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/EigenFaceRecognizer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/Face.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FaceRecognizer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/Facemark.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FacemarkAAM.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FacemarkKazemi.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FacemarkLBF.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FacemarkTrain.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/FisherFaceRecognizer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/LBPHFaceRecognizer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/MACE.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/PredictCollector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/face/StandardCollector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/AKAZE.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/AgastFeatureDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/BFMatcher.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/BOWImgDescriptorExtractor.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/BOWKMeansTrainer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/BOWTrainer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/BRISK.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/DescriptorMatcher.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/FastFeatureDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/Feature2D.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/Features2d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/FlannBasedMatcher.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/GFTTDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/KAZE.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/MSER.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/ORB.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/features2d/Params.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/AverageHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/BlockMeanHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/ColorMomentHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/ImgHashBase.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/Img_hash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/MarrHildrethHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/PHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/img_hash/RadialVarianceHash.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgcodecs/Imgcodecs.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/CLAHE.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/GeneralizedHough.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/GeneralizedHoughBallard.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/GeneralizedHoughGuil.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/Imgproc.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/LineSegmentDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/Moments.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/imgproc/Subdiv2D.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/ANN_MLP.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/Boost.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/DTrees.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/EM.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/KNearest.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/LogisticRegression.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/Ml.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/NormalBayesClassifier.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/ParamGrid.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/RTrees.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/SVM.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/SVMSGD.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/StatModel.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ml/TrainData.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/objdetect/BaseCascadeClassifier.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/objdetect/CascadeClassifier.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/objdetect/HOGDescriptor.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/objdetect/Objdetect.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/objdetect/QRCodeDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/osgi/OpenCVInterface.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/osgi/OpenCVNativeLoader.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/phase_unwrapping/HistogramPhaseUnwrapping.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/phase_unwrapping/PhaseUnwrapping.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/phase_unwrapping/Phase_unwrapping.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/AlignExposures.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/AlignMTB.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/CalibrateCRF.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/CalibrateDebevec.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/CalibrateRobertson.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/MergeDebevec.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/MergeExposures.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/MergeMertens.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/MergeRobertson.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/Photo.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/Tonemap.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/TonemapDrago.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/TonemapMantiuk.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/photo/TonemapReinhard.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/plot/Plot.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/plot/Plot2d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/structured_light/GrayCodePattern.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/structured_light/Params.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/structured_light/SinusoidalPattern.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/structured_light/StructuredLightPattern.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/structured_light/Structured_light.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/BaseOCR.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/Callback.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/ClassifierCallback.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/ERFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/OCRBeamSearchDecoder.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/OCRHMMDecoder.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/OCRTesseract.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/Text.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/TextDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/text/TextDetectorCNN.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/MultiTracker.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/Tracker.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerBoosting.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerCSRT.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerGOTURN.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerKCF.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerMIL.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerMOSSE.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerMedianFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/TrackerTLD.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/tracking/Tracking.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/utils/Converters.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/BackgroundSubtractor.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/BackgroundSubtractorKNN.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/BackgroundSubtractorMOG2.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/DISOpticalFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/DenseOpticalFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/FarnebackOpticalFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/KalmanFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/SparseOpticalFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/SparsePyrLKOpticalFlow.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/VariationalRefinement.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/video/Video.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/videoio/VideoCapture.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/videoio/VideoWriter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/videoio/Videoio.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/BoostDesc.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/BriefDescriptorExtractor.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/DAISY.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/FREAK.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/HarrisLaplaceFeatureDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/LATCH.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/LUCID.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/MSDDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/PCTSignatures.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/PCTSignaturesSQFD.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/SIFT.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/SURF.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/StarDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/VGG.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xfeatures2d/Xfeatures2d.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/AdaptiveManifoldFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/ContourFitting.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/DTFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/DisparityFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/DisparityWLSFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/EdgeAwareInterpolator.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/EdgeBoxes.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/FastBilateralSolverFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/FastGlobalSmootherFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/FastLineDetector.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/GraphSegmentation.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/GuidedFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/RFFeatureGetter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/RidgeDetectionFilter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentation.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategy.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategyColor.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategyFill.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategyMultiple.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategySize.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SelectiveSearchSegmentationStrategyTexture.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SparseMatchInterpolator.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/StructuredEdgeDetection.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SuperpixelLSC.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SuperpixelSEEDS.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/SuperpixelSLIC.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/ximgproc/Ximgproc.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/GrayworldWB.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/LearningBasedWB.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/SimpleWB.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/TonemapDurand.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/WhiteBalancer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/xphoto/Xphoto.java' ...
      COPYFILES: ... directory '.../android/java' with 11 files
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/AsyncServiceHelper.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/BaseLoaderCallback.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/CameraBridgeViewBase.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/FpsMeter.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/InstallCallbackInterface.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/JavaCameraView.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/LoaderCallbackInterface.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/OpenCVLoader.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/StaticHelper.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/Utils.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/engine/OpenCVEngineInterface.aidl' ...
      COPYFILES: ... directory '.../android-21/java' with 5 files
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/Camera2Renderer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/CameraGLRendererBase.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/CameraGLSurfaceView.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/CameraRenderer.java' ...
      COPYFILES: Copying: 'android_sdk/src/org/opencv/android/JavaCamera2View.java' ...
      COPYFILES: Updated!
      [1229/1267] Building OpenCV Android library project
      [subant] No sub-builds to iterate on
      [javac] Note: Some input fi..

    • 또끼심심 2019.06.21 12:26

      [1229/1267] Building OpenCV Android library project
      [subant] No sub-builds to iterate on
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.

      BUILD SUCCESSFUL
      Total time: 9 seconds
      [1244/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/15-puzzle. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1245/1267] Generating example-15-puzzle-debug.apk

      BUILD SUCCESSFUL
      Total time: 7 seconds
      [1247/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/face-detection. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1248/1267] Generating example-face-detection-debug.apk

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1250/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/image-manipulations. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1251/1267] Generating example-image-manipulations-debug.apk

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1253/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/camera-calibration. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1254/1267] Generating example-camera-calibration-debug.apk
      [javac] Note: C:\opencv-sources\opencv-4.1.0\build\samples\android\camera-calibration\.build\src\org\opencv\samples\cameracalibration\CameraCalibrationActivity.java uses or overrides a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1256/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/color-blob-detection. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1257/1267] Generating example-color-blob-detection-debug.apk

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1259/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/tutorial-1-camerapreview. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1260/1267] Generating example-tutorial-1-camerapreview-debug.apk

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1262/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/tutorial-2-mixedprocessing. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1263/1267] Generating example-tutorial-2-mixedprocessing-debug.apk

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1265/1267] Updating Android project at C:/opencv-sources/opencv-4.1.0/samples/android/tutorial-3-cameracontrol. SDK target: android-28
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      It seems that there are sub-projects. If you want to update them
      please use the --subprojects parameter.
      [1266/1267] Generating example-tutorial-3-cameracontrol-debug.apk
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.

      BUILD SUCCESSFUL
      Total time: 6 seconds
      [1267/1267] Running utility command for example-tutorial-3-cameracontrol

      C:\opencv-sources\opencv-4.1.0\build>

      전에 했을때는 9백 정도에서 더이상 진행이 안되어서. 다른 버전으로 계속 시도했었습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.06.21 12:44 신고

      빌드 성공한거 아닌가요? 에러가 안보이네요.

    • 또끼심심 2019.06.21 13:02

      "OpenCV-android-sdk " 폴더 용량이 206MB 분이 안되요??

    • 또끼심심 2019.06.21 13:42

      혹시 빌드 후... opencv-4.1.0-android-sdk.zip 파일을 다시 플어야 하나요?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.06.21 14:42 신고

      arm64-v8a만을 위해 빌드했기때문에 크기가 작습니다. 추가로 압축풀어 덮어씌울 필요는 없습니다.

      cmake예제로 동작하는지 보세요

  4. helphelphelp 2019.08.01 22:36

    안녕하세요! 블로그 참고를 하다가 9번에서 막혀서 질문 남깁니다!
    C:\opencv-sources\opencv-4.1.0\build> cmake -GNinja -D CMAKE_INSTALL_PREFIX=C:/OpenCV-android-sdk -D ANDROID_PROJECTS_BUILD_TYPE=”ANT" -D BUILD_ANDROID_PROJECTS=ON -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_JAVA=ON -D BUILD_opencv_java=ON -D BUILD_SHARED_LIBS=OFF -D BUILD_FAT_JAVA_LIB=ON -D BUILD_PYTHON=OFF -D INSTALL_ANDROID_EXAMPLES=OFF -D ANDROID_EXAMPLES_WITH_LIBS=OFF -D BUILD_DOCS=OFF -D WITH_OPENCL=ON -D ANDROID_NDK_HOST_X64=ON -D CMAKE_TOOLCHAIN_FILE=C:/Users/st131/AppData/Local/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -D ANDROID_NDK=C:/Users/st131/AppData/Local/Android/Sdk/ndk-bundle -D ANDROID_SDK=C:/Users/st131/AppData/Local/Android/Sdk -D ANDROID_TOOLCHAIN=clang -D ANDROID_STL=c++_static -D ANDROID_ARM_NEON=ON -D ANDROID_ABI=arm64-v8a -D ANDROID_NDK_HOST_X64=ON -D OPENCV_EXTRA_MODULES_PATH=C:\opencv-sources\opencv_contrib-4.1.0\modules -D OPENCV_ENABLE_NONFREE=ON -D ANDROID_NATIVE_API_LEVEL=14 -D ANDROID_SDK_TARGET=28 ..


    이렇게 cmd창에 입력했더니

    'cmake'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
    배치 파일이 아닙니다.

    라고 나왔습니다.

    환경변수 SYSTEM도 다 해뒀는데 뭐가 문제인걸까요?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.01 23:19 신고

      1번 진행시 cmake의 path를 추가한다고 했나요?

      그래도 안된다면

      9번 진행시


      cmake 대신에


      cmake 전체 경로를 포함한 다음 명령을 사용하세요.

      C:\Program Files\CMake\bin\cmake

  5. it응용 2019.08.06 13:58

    안녕하세요 11번 과정을 진행하던 중
    SKIP:vector_pair_int_and_double cv::face::StandardCollector::getResults(bool sorted = false) due to RET type vector_pair_int_and_double
    JAVA: Processing OpenCV modules: 24
    Generated files: 355 (updated 355)
    [288/1252] Linking C static library 3rdparty\lib\arm64-v8a\liblibwebp.a
    FAILED: 3rdparty/lib/arm64-v8a/liblibwebp.a
    cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E remove 3rdparty\lib\arm64-v8a\liblibwebp.a && D:\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ar.exe qc 3rdparty\lib\arm64-v8a\liblibwebp.a @CMakeFiles/libwebp.rsp && D:\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ranlib.exe 3rdparty\lib\arm64-v8a\liblibwebp.a && cd ."
    D:\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-ar.exe: 3rdpartylibwebpCMakeFileslibwebp.dirsrcdecalpha_dec.c.o: No such file or directory
    [291/1252] Building CXX object 3rdparty\openexr\CMakeFiles\IlmImf.dir\IlmImf\ImfConvert.cpp.o
    ninja: build stopped: subcommand failed.

    위와 같은 오류와 함께 실패했다고 뜹니다. 무엇을 건드려 주는게 좋을까요?
    opencv 4.1.0과 4.0.1 둘다 해 보았습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.06 14:09 신고

      구글링해도 딱히 에러에 대한 해결책은 안보이네요..

      WEBP를 사용안한다고 cmake시 다음 옵션을 추가해보면 해결되지 않을까 싶습니다.

      -DWITH_WEBP=OFF


      가급적이면 OpenCV 4.1.1보단 OpenCV 4.1.0으로 진행하세요..

  6. it응용 2019.08.06 14:49

    주신 방법으로 해결 되었습니다. 감사합니다 ㅠㅠ 개인적인 궁금증으로 -DWITH_WEBP=OFF의 의미가 무엇인지 궁금합니다.
    마지막으로 재능 기부에 다시한번 감사드립니다!

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.06 15:00 신고

      해결되서 다행입니다 : )



      아래 링크에서 소개하는 WebP(웹피) 이미지 포맷을 OpenCV에서 사용할지 결정하는 옵션입니다.

      https://ko.wikipedia.org/wiki/WebP


      감사합니다.


  7. 9번 과정에서 한 오류가 계속 반복됩니다. 2019.08.13 16:50

    안녕하세요 주인장님. 안드로이드로 opencv 임포트해서 구현하신 예제들이 꽤 있어서 한 번 실행시켜보려고 하다가... 이 포스팅까지 오게 되었습니다.
    그래서 포스팅 내용대로 차근차근 확인을 해보았으나... 똑같은 오류가 계속 발생해서 이렇게 댓글 남겨봅니다.

    1. 9번 과정 이전(1~8번)에 대한 확인
    - cmake를 설치하였는가?
    설치했습니다. 버전도 동일하구 "Add CMake to the system PATH for all users" 체크까지 완벽하게 했습니다.(사진대로 함)

    - opencv 버전을 제대로 설치하였는가?
    4.1.0 버전으로 다 설치했습니다. extra 모듈 또한 같은 버전으로 설치했으며, 주인장님께서 생성하신 디렉토리 명 "opencv-sources"까지 완벽하게 했습니다.
    ㄴ 파생 (댓글 참조) : "opencv-4.1.0" 디렉토리 안에 "CMakeLists.txt"가 있는가? 예 있습니다.

    - ninja를 설치하였는가?
    설치했습니다. 버전도 동일하구 cmd에서 ninja 명령 사용시 사진처럼 표시가 되었습니다.

    - Oracle의 JDK를 설치하였는가?
    안드로이드 스튜디오를 설치하는 과정에서 이미 설치를 했습니다. 다만 버전이 jdk1.8.0_221로 다르긴 하지만 설치를 하였습니다.(211로 바꾸고 싶었으나 삭제 후 원하는 버전으로 재설치 하는 과정에서 문제가 발생할 것 같아 놔뒀습니다.) cmd에서 제가 설치한 버전으로 나오는 것을 확인했고, 그 내용은 아래와 같습니다.

    C:\Users\OOO>java -version
    java version "1.8.0_221"
    Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

    - Ant를 설치하였는가?
    동일한 버전으로 설치하였고, cmd 결과 화면도 동일하게 나왔습니다.

    - Android SDK Tools 25.2.5를 다운받아 디렉터리명을 "tools"로 이름 변경을 해주었는가? SDK Manager 설정도 빠짐없이 다 하였는가?
    사진이랑 완벽하게 동일하게 하였습니다. 다만 우려되는 것은, 이 설정을 하면서 SDK Build-Tools 28.0.3을 빼고 모두 체크해제 하는 과정에서 다른 빌드 툴이 삭제가 되어버렸는데... 이것이 나중에 다른 앱을 만들 때 영향이 가지 않는가 입니다.

    - Android 28과 NDK를 설치하였는가?
    네 설치하였습니다. "NDK (Side by Side)" 라는 것도 설치를 하였습니다. 이미 안드로이드 스튜디오를 만지작하면서 NDK를 미리 다운받아놓긴 했는데... 혹시나 해서.

    - 8번 과정을 제대로 수행하였는가?
    그렇습니다. 여기까진 원활히 되었습니다...

    2. 9번 과정에서 발생한 문제
    제가 9번 과정을 수행한 것을 모두 보여드리겠습니다. 결과도 같이.

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\OOO>cd \

    C:\>cd C:\opencv-sources\opencv-4.1.0

    C:\opencv-sources\opencv-4.1.0>mkdir build

    C:\opencv-sources\opencv-4.1.0>cd build

    C:\opencv-sources\opencv-4.1.0\build>cmake -GNinja -DCMAKE_INSTALL_PREFIX=C:/Ope
    nCV-android-sdk -DANDROID_PROJECTS_BUILD_TYPE=”ANT" -DBUILD_ANDROID_PROJECTS=O
    N -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=O
    N -DBUILD_opencv_java=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_FAT_JAVA_LIB=ON -DBUILD
    _PYTHON=OFF -DINSTALL_ANDROID_EXAMPLES=OFF -DANDROID_EXAMPLES_WITH_LIBS=OFF -DBU
    ILD_DOCS=OFF -DWITH_OPENCL=ON -DANDROID_NDK_HOST_X64=ON -DCMAKE_TOOLCHAIN_FILE=C
    :/Users/OOO/AppData/Local/Android/Sdk/ndk-bundle/build/cmake/android.toolcha
    in.cmake -DANDROID_NDK=C:/Users/OOO/AppData/Local/Android/Sdk/ndk-bundle -DA
    NDROID_SDK=C:/Users/OOO/AppData/Local/Android/Sdk -DANDROID_TOOLCHAIN=clang
    -DANDROID_STL=c++_static -DANDROID_ARM_NEON=ON -DANDROID_ABI=arm64-v8a -DANDROID
    _NDK_HOST_X64=ON -D OPENCV_EXTRA_MODULES_PATH=C:\opencv-sources\opencv_contrib-
    4.1.0\modules -DOPENCV_ENABLE_NONFREE=ON -DANDROID_NATIVE_API_LEVEL=14 -DANDROID
    _SDK_TARGET=28 ..
    CMake Warning:
    No source or binary directory provided. Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.


    CMake Error: The source directory "C:/opencv-sources/opencv-4.1.0/build" does no
    t appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.

    위의 결과가 그 오류이고, 이것을 몇 번이고 봤습니다... 댓글에도 비슷한 사례가 있나 싶어서 보았지만 좋은 결과를 얻진 못했고, 버전도 다르게 설치해가며 시도해도 마찬가지였습니다... 저는 여기서 더 나아가질 못합니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.13 17:27 신고

      검색해보니..
      cmake 관련 문제일 확률이 높아보입니다.
      버전에 따라 관련 이슈가 있는 듯합니다.

      혹시 cmake를 다른 버전으로 바꿔보셨나요?


      이것저것 깔린 상태에서 진행한거라 문제를 못찾는 거일 수도 있어보여서..
      검토를 다시 해봐야 겠네요..

    • 위 댓쓴이입니다 2019.08.13 20:41

      cmake-3.14.3-win32-x86
      cmake-3.14.3-win64-x64
      cmake-3.14.4-win32-x86
      cmake-3.14.4-win64-x64
      cmake-3.14.6-win32-x86
      cmake-3.14.6-win64-x64
      cmake-3.15.2-win32-x86
      cmake-3.15.2-win64-x64

      위의 8가지 버전의 cmake를 모두 다운받아서 확인을 해봤지만 똑같은 오류가 발생했습니다...

    • 물론 하나 해보고 지우고 하나 해보고 지우고 2019.08.13 20:42

      그렇게 했습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.13 20:45 신고

      OpenCV 버전을 4.1.1로 해서 다시 테스트해보고 있습니다. 기다려보세요..

    • 본댓 글쓴이입니다 2019.08.16 20:16

      안녕하세요 주인장님. 2019년 8월 16일자에 블로그 테마(굉장히 세련된 느낌입니다)와 해당 글이 수정되었음을 알아차리고 기쁜 마음으로 다시 차근차근 따라해보았습니다. 영상 따라 확인을 하였더니 다행히 정상적인 절차를 밟으면서 모두 완료를 하였고, 영상에서 알려주신 openCV 예제를 다시 한 번 확인해볼 예정입니다.
      비록 며칠 헤매긴 했지만, 이거 왜 안돼 하면서 넘기고 다른 글쓴이가 쓴 opencv 빌드 등을 찾으러 갔다면 더 오래 헤맸을 수도 있습니다. 저는 이렇게 댓글을 남겨 주인장님과 해당 오류에 대해 얘기를 해보고 다시 시도해보고 결국 원활하게 끝냈다는 것에 의미를 두고있고, 주인장 분께도 감사 인사를 드립니다.

      아래는 제가 겪은 오류가 왜 나왔는지를 전에 진행했던 과정들과 비교해가며 적어보겠습니다.
      -----------------------
      1.(가장 유력) python이 여러개 설치되어있던 문제
      python 상위 버전이 있는 경우, 그 상위 버전만 구동되는 것으로 멋대로 생각하고 cmd창에서 python 실행 시 제대로 된 버전으로 실행되는 지를 확인을 안했습니다. 제 컴퓨터에는 총 세 버전의 python이 깔려있었고, 그 중 anaconda 버전도 있었는데, 이 버전이 다른 파이썬의 실행을 방해하는 것을 확인하였습니다. 따라서 영상에서 알려준 python 버전이 제대로 실행되는 지를 확인하고, 만약 아니라면 이외의 다른 python은 삭제하기를 권장합니다. 아마 영상에서 쓰인 python 버전은 안드로이드용 opencv 임포트 용으로만 쓰인 것이므로, 다른 버전의 python을 사용하고 싶다면 모든 과정 완료 후 다른 버전 까시면 될 것으로 보여집니다.

      2. JDK과 관련한 내용
      JDK 과정에서 영상에서는 path 내용에 jdk 자체가 아닌, android와 관련된 java 파일명으로 변경이 되었던데 이것이 해결책이 될 수도 있습니다. 아직 본 글 내용은 영상과 다르므로 주의하셔야 겠습니다. 다만 영상이든 본 글 내용이든 성공하신 분들은 계시므로 JDK path 내용 수정과 관련한 문제는 없을 것으로 생각됩니다.

      이 외에는 설치를 요구하는 다른 프로그램들의 버전이 최신화된 것 정도인데... 역시나 성공 사례가 있기 때문에 버전 업데이트로 인해 해결되는 케이스는 아니라보고, 제가 생각하는 원인은 1번 항목입니다. 혹시 저와 같은 증상을 겪고 계시다면 1번 항목 보고 한 번 다시 해보시는 걸 권장합니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.08.16 20:46 신고



      후기 남겨주셔서 감사합니다^^
      그리고 스킨 바꾸고 걱정했는데 다행이네요..
      댓글에 대한 댓글 적을 때 문제가 있어 고쳐야 할듯합니다.

      Python은 자바 라이브러리를 생성시 사용하기 때문에 꼭 설치되어야 합니다. 여러 버전이 설치된 경우 문제가 발생할 수 있군요.. 알려주셔서 감사합니다.

      오라클 JDK를 굳이 설치할 필요 있나해서 안드로이드 스튜디오에 포함되어 있는 OpenJDK를 사용해봤는데 문제 없이 동작했습니다..
      오라클 것을 사용해도 동일하게 성공할 듯합니다.


  8. Favicon of https://dirrito.tistory.com BlogIcon 유령2세 2019.10.02 23:42 신고

    안녕하세요.

    다른 글에서 android studio에서 c++과 opencv를 이용하여 사진의 윤곽을 잡는 걸 테스트 했었는데, 현재 그 컴퓨터 상태로 이 글을 테스트해도 되는지 궁금합니다!

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.10.03 11:01 신고

      Android용으로 OpenCV를 새로 빌드하면 기존 OpenCV-android-sdk 폴더만 덮어쓰기 됩니다.

      기존 안드로이드 프로젝트의 설정을 바꿀 필요없이 똑같이 동작합니다.

  9. 2019.12.26 03:05

    비밀댓글입니다

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2019.12.26 08:50 신고

      C:\opencv-sources\opencv-4.1.2 위치에 CMakeLists.txt 파일이 있어야 하는데 없는듯합니다. 확인해보세요.


      그리고

      C:\opencv-sources\opencv_contrib-4.1.0\modules는 C:\opencv-sources\opencv_contrib-4.1.2\modules로 변경해야 합니다.

  10. TomKong 2020.01.09 00:42

    먼저 좋은글 감사합니다.
    궁금한게 있습니다. Python을 중간에 설치하고 코드 중에는 'Python (for build): '라는 부분도 있는데.
    Python 이 OpenCV를 사용함에 있어 어떤 목적으로 쓰이는건가요?

    NDK 대신에 Python을 안드로이드에서 사용하는건가요?

  11. mgkim 2020.01.16 10:42

    11번중 아래 같은 애러가 발생하는데 왜그럴가요 ㅠ
    C:\opencv-sources\opencv-4.1.0\build>ninja -j4
    ninja: fatal: CreateProcess: 액세스가 거부되었습니다.64-v8a\liblibtiff.a


    jdk가 아래인것 말고는 모두 동일하게 셋팅 하였습니다.
    openjdk version "1.8.0_232"
    OpenJDK Runtime Environment (build 1.8.0_232-b09)
    OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

    • mgkim 2020.01.16 11:46

      CheckIncludeFile.c:1:10: fatal error: 'io.h' file not found

      #include <io.h>

      ^~~~~~

      1 error generated.

      ninja: build stopped: subcommand failed.

      저도 이개 발생한거였내요.. 이건 해결이 안된거죠?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.16 23:00 신고

      다른 프로세스가 사용중인데 컴파일을 시도해서 발생한 듯합니다. 터미널을 닫거나 컴퓨터를 재부팅하면 해결될듯합니다.

      어느 것을 보고했는지 알 수 없지만..
      글 보다는
      영상을 보고 하는게 정확합니다.

  12. 양갱 2020.01.19 20:01

    안녕하세요 항상 좋은 자료 덕분에 많은 도움을 얻고 있습니다!
    다름이 아니라 9번(깃허브 cmake 코드 복사한 것 실행) 실행 중에 에러가 발생하여 문의 드립니다

    CMake Error: The source directory "C:/Users" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.

    댓글들을 보고 이전 버전의 파이썬과 아나콘다도 지우고 실행해보았지만 여전히 같은 에러가 반복되고 있습니다.
    안드로이드 스튜디오와 opencv 버전은 글과 동일하게 사용하고 있습니다
    어떻게 해결해야 할까요 ㅠㅜ

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.19 20:04 신고

      영상을 기준으로 진행하셔야 합니다. 혹시 몰라 남겨두었던 글은 혼동이 오는거 같아서 삭제한 상태입니다.

    • 양갱 2020.01.19 20:06

      네 그래서 영상을 기준으로 실행하고 있는데 9번이라고 표기한 것은 댓글 남기신 분들이 해당 단계를 9번이라고 발씀하시는 것 같아 표기한 것입니다!
      영상으로 cmake 명령까지 따라갔을 때 저런 에러가 발생했습니다

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.19 20:13 신고

      OpenCV 소스코드가 있는 경로에 문제가 있어서 CMake에서 인식이 안된듯합니다.

    • 양갱 2020.01.19 20:27

      영상과 동일하게 opencv-sources를 c드라이브에 넣어놨고, 혹시 몰라 복사한 명령어의 소스코드 주소 부분을 직접 폴더에 들어가 긁어온 주소로 바꾸었는데도 동일한 문제가 발생합니다..ㅠㅜ

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.19 20:46 신고

      build 폴더를 삭제하고 다시 해보셨나요?

    • 양갱 2020.01.19 20:54

      친절히 답변해주셔서 정말 정말 감사합니다
      해당 문제는 해결이 되었는데 다른 에러가 발생했습니다

      CMake Error at cmake/OpenCVUtils.cmake:111 (find_program):
      Syntax error in cmake code at

      C:/opencv-sources/opencv-4.1.1/cmake/OpenCVUtils.cmake:111

      when parsing string

      ANDROID_EXECUTABLE;NAMES;android.bat;android;PATHS;C:\Users\user\AppData\Local\Android\Sdk/tools;DOC;Android 'android' tool location

      Invalid character escape '\U'.
      Call Stack (most recent call first):
      cmake/android/android_ant_projects.cmake:1 (find_host_program)
      cmake/android/OpenCVDetectAndroidSDK.cmake:221 (include)
      CMakeLists.txt:797 (include)


      -- Configuring incomplete, errors occurred!
      See also "C:/opencv-sources/opencv-4.1.1/build/CMakeFiles/CMakeOutput.log".
      See also "C:/opencv-sources/opencv-4.1.1/build/CMakeFiles/CMakeError.log".

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.19 20:57 신고

      에러 메시지에 다음같은 메시지가 있네요..
      실행시킨 명령어에 잘못된 문자가 포함되어 있지 않나보세요

      Invalid character escape '\U'.

    • 양갱 2020.01.19 21:07

      build를 삭제한 후 다시 만들어 실행했더니 해결되었습니다. 너무 급하게 질문 드렸던거 같아 죄송합니다. 그런데 자바 항목이 영상과 다른데 뭔가 잘못된 것일까요?

      Java: export all functions
      -- ant: NO
      -- Java wrappers: NO
      -- Java tests: NO
      --
      -- Install to: C:/OpenCV-android-sdk

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.19 21:08 신고

      자바 항목이 영상과 동일해야 합니다.. 사전에 설치되어야 하는 것들 중 빠진게 없는지 확인해보세요..

    • 양갱 2020.01.20 01:45

      기존에 vs에서 사용할 때 깔려있던 opencv 때문이었던 것 같습니다 해당 폴더의 이름을 바꾸고 진행하니 해결되었습니다 답변 정말 감사합니다!

    • 양갱 2020.01.20 02:19

      ninja -j4 명령어 실행 중 에러가 발생하여 다시 한번 질문 드립니다

      [1283/1309] Linking CXX shared library jni\arm64-v8a\libopencv_java4.so
      FAILED: jni/arm64-v8a/libopencv_java4.so
      cmd.exe /C "cd . && C:\Users\user\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=C:/Users/user/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/user/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -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 -Winit-self -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 -Wno-deprecated-declarations -O2 -DNDEBUG -DNDEBUG -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libopencv_java4.so -o jni\arm64-v8a\libopencv_java4.so @CMakeFiles\opencv_java.rsp && cmd.exe /C "cd /D C:\opencv-sources\opencv-4.1.1\build\modules\java\jni && C:\Users\user\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-strip.exe --strip-unneeded C:/opencv-sources/opencv-4.1.1/build/jni/arm64-v8a/libopencv_java4.so""
      'cmd.exe'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
      배치 파일이 아닙니다.
      ninja: build stopped: subcommand failed.

      이런 에러가 뜨는데 왜그런걸까요 ㅠ

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.20 21:17 신고

      cmd.exe는 명령 프롬프트입니다. 명령 프롬프트 에서 cmake 명령을 한거 아닌가요?

    • 양갱 2020.01.21 13:53

      명령 프롬프트 cmd에서 cmake 명령어 실행 후 영상과 같은 결과가 나왔고, 이후 ninja 명령을 실행하던 도중 저런 에러가 발생했습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.21 21:27 신고

      구글에서 검색해도 마땅한 답이 안찾아지네요. 명령프롬프트에서 cmd를 실행못시키다니 이상한 현상이군요. 혹 ninja 버전을 바꾸면 어떨까 싶습니다.

  13. 2020.01.26 21:44

    비밀댓글입니다

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.26 22:17 신고

      contrib에 포함된 모듈을 사용하지 않는한 OpenCV 공식홈페이지에서 배포하는 안드로이드용 OpenCV를 사용하면 됩니다

  14. kang 2020.01.27 23:36

    sync는 성공하는데 build가 되지 않습다.. 구글링해도 원인을 못찾겠어서 질문드립니다..

    Build command failed.
    Error while executing process C:\Users\kangk\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C C:\opencv-4.1.1-android-sdk\OpenCV-android-sdk\PlayGround\app\.cxx\cmake\debug\armeabi-v7a native-lib}
    ninja: Entering directory `C:\opencv-4.1.1-android-sdk\OpenCV-android-sdk\PlayGround\app\.cxx\cmake\debug\armeabi-v7a'

    ninja: error: 'C:/opencv-4.1.1-android-sdk/OpenCV-android-sdk/PlayGround/opencv/native/libs/armeabi-v7a/libopencv_java4.so', needed by 'C:/opencv-4.1.1-android-sdk/OpenCV-android-sdk/PlayGround/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.01.28 21:10 신고

      앱을 빌드하다가 문제 생긴거라면..

      CMakeLists.txt 에서 경로가 틀린게 없나 확인해보세요.

    • entering 2020.02.29 11:44

      저 같은 경우 OpenCV-android-sdk/PlayGround/opencv/native/libs/ 안에 armeabi-8a 폴더에만 so 파일이 있어서
      gradle setting에 abi 옵션 줘서 해결했습니다

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.03.01 12:27 신고

      특정 abi의 so파일만 사용하도록 해서 해결하쎴군요.. 팁 감사합니다.

  15. heejaec 2020.07.01 12:35

    -- Configuring incomplete, errors occurred!
    See also "C:/opencv-source/opencv-4.1.1/build/CMakeFiles/CMakeOutput.log".
    See also "C:/opencv-source/opencv-4.1.1/build/CMakeFiles/CMakeError.log".

    명령프롬트가 나오고, CMakeError.log 에 가보니 1 error generated.
    ninja: build stopped: subcommand failed.
    이라는 에러 문구가 나옵니다. ㅠ 영상을 보니 cmd에서 ninja가 구동되는지 확인 하실때 작동이 안되었는데.. build 하실때는 또 작동이 되는것 같습니다.

    • heejaec 2020.07.01 13:27

      Determining if the include file io.h exists failed with the following output:
      Change Dir: C:/opencv-source/opencv-4.1.1/build/CMakeFiles/CMakeTmp

      Run Build Command(s):C:/ninja/ninja.exe cmTC_a73d7 && [1/2] Building C object CMakeFiles/cmTC_a73d7.dir/CheckIncludeFile.c.o

      FAILED: CMakeFiles/cmTC_a73d7.dir/CheckIncludeFile.c.o

      C:\Users\heeja\AppData\Local\Android\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android21 --gcc-toolchain=C:/Users/heeja/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/heeja/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -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 -Winit-self -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 -fPIE -o CMakeFiles/cmTC_a73d7.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c

      CheckIncludeFile.c:1:10: fatal error: 'io.h' file not found

      추가 에러문구입니다.

      #include <io.h>

      ^~~~~~

      1 error generated.

      ninja: build stopped: subcommand failed.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.07.01 19:06 신고

      안드로이드 스튜디오 버전이 바뀌면서 문제가 생긴듯합니다. 혹시 영상과 다르게 옵션을 변경한게 있나요?

  16. heejaec 2020.07.02 00:27

    안녕하세요. 버전 다운그레이드 시켜서 하나하나 체크해서 되니 잘됩니다! 감사합니다~

  17. heejaec 2020.07.02 10:42

    하나만 더 문의 드리겠습니다. ㅠ
    모든버전을 동일하게 하였는데, NDK의 경우는 NDK(side by side)에서 버전을 29로 하였습니다. 이후 모든작업을 완료후, cmd 창에서 building을 시도 할때, 오류가 발생하여, 사용자 폴더에서 파일명을 NDK 에서 NDK-bundle 로 바꾸어서 진행하였더니 Configuring ,Generating done 은 되는데, 아래처럼 작동이 되고, installing하면 일부가 building이 안됩니다.
    com-- Python (for build): C:/Users/heeja/AppData/Local/Programs/Python/Python37/python.exe
    -- Java: export all functions
    -- ant: NO
    -- Java wrappers: NO
    -- Java tests: NO
    -- Install to: C:/OpenCV-android-sdk
    -- -----------------------------------------------------------------
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/opencv-sources/opencv-4.1.1/build

    버전이 다를 경우 이전 댓글과 같이 configuring error가 발생하구요.. 혹시나 해서 코드상에 있는 ndk-bundle을 ndk로 바꿔서 compiling 할경우. 다음과 같이 찾지를 못합니다.

    CMake Error at CMakeLists.txt:108 (project):
    The CMAKE_C_COMPILER:

    C:/Users/heeja/AppData/Local/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe

    is not a full path to an existing compiler tool.

    혹시 방법이 있을까요?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.07.02 20:37 신고

      NDK 29와 안맞을 수 있을듯 하고 구글에서 비슷한 사례를 검색해보며 진행을 해볼 수 밖에 없을듯합니다.

  18. Favicon of http://blog.naver.com/jedijaja BlogIcon jedijaja 2020.09.17 13:26

    안녕하세요.
    opencv 설치 때마다 매 번 사이트에서 확인하면서 하는데 큰 도움이 되고 있습니다.

    이 번 글도 따라 하면서 해보고 있는데

    ninja -j4 하니까 아래와 같은 error들이 다 수 발생 했습니다.

    C:/android-ndk-r20b/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1\cmath:318:9: error: no member named 'signbit' in the global namespace
    using ::signbit;
    ~~^
    C:/android-ndk-r20b/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1\cmath:319:9: error: no member named 'fpclassify' in the global namespace
    using ::fpclassify;
    ~~^
    C:/android-ndk-r20b/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1\cmath:320:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
    using ::isfinite;

    어떻게 해야 할지 조언을 구합니다.

    감사합니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.09.17 20:56 신고

      ndk 버전이 바뀔때마다 진행방법이 바뀌어야 할거 같습니다.

      영상과 버전을 맞추어서 진행해보세요..

      최신버전에선 아직 진행을 못해봤습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.09.17 20:58 신고

      SDK Manager에서 Show Package Details를 클릭하면 NDK 버전을 골라서 설치할 수 있습니다. 사용할 버전외에는 체크해제하세요.

      가급적이면 Android 버전도 맞추는게 좋을 수도 있습니다.

  19. kannu 2020.10.12 17:43

    BUILD FAILED
    C:\opencv-sources\opencv-4.4.0\build\android_sdk\build.xml:90: Cannot find C:\Users\ychoi\AppData\Local\Android\Sdk\tools\ant\build.xml imported from C:\opencv-sources\opencv-4.4.0\build\android_sdk\build.xml


    혹시 빌드가 잘못된거 같은데 build.xml을 어디에 복사해줘야하는건가요? 과정에 없던거라

  20. zard 2020.10.19 11:29

    아래의 error를 어떻게 해야할지 모르겠습니다. 혹시 조언 가능하실런지요.
    [1366/1388] Building OpenCV Android library project
    FAILED: bin/classes.jar CMakeFiles/dephelper/opencv_java_android
    cmd.exe /C "cd /D C:\opencv-sources\opencv-4.4.0\build\android_sdk && C:\ant\bin\ant.bat -q -noinput -k debug -Djava.target=1.6 -Djava.source=1.6 && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/opencv-sources/opencv-4.4.0/build/CMakeFiles/dephelper/opencv_java_android"
    Buildfile: build.xml does not exist!
    Build failed
    [1376/1388] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tracking_by_matching.cpp.o
    ninja: build stopped: subcommand failed.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.10.19 18:45 신고

      tools 폴더를 바꾸었나요?

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.10.19 18:46 신고

      바로 전에 질문한 분도 같은 에러네요.. 확인이 필요할듯합니다. 영상에서 진행한 버전과 일치하는지 확인해보세요

  21. Favicon of https://shimdugkii.tistory.com BlogIcon 또끼심심심 2020.11.25 17:42 신고

    안녕하세요

    시간 날때 마다 도전 하는데..힘드네요


    FAILED: Jni/arm64-v8a/libopencv_java4.so

    양갱님 처럼 이거 뜨는데..
    nanja 다른 버전도 해보았습니다.

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.11.25 17:57 신고

      이상하군요.. 초기화된 PC에서 해봐야겠군요

    • Favicon of https://webnautes.tistory.com BlogIcon webnautes 2020.11.28 17:26 신고

      초기화된 피시에서 진행해보았는데 영상과 버전을 맞추어서 하니 문제없이 빌드됩니다.

+ Recent posts