赞
踩
原文摘自知乎网友稚晖的文章《如何从源码编译OpenCV4Android库》
https://blog.csdn.net/LateLinux/article/details/111149544
我在这里根据自己的经验,增加一些备注。
opencv4.1(opencv4.6也可以编译通过)
android-sdk_r24.4.1-linux.tar 下载地址:https://www.androiddevtools.cn/ 解压 tar -xvf android-sdk_r24.4.1-linux.tar
cmake version 3.10.2
jdk-8u202-linux-x64.tar.gz
android-ndk-r18b-linux-x86_64.zip
apache-ant-1.10.13-bin.zip
这是我的目录结构:
cd …/…/…/f/Software/opencv_build/build/
sudo su//进入超级用户执行这些指令,一行一行执行
export JAVA_HOME=/mnt/f/Software/opencv_build/jdk1.8.0_202
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
export ANDROID_SDK=/mnt/f/Software/opencv_build/android-sdk-linux
export PATH=$ANDROID_SDK/tools:$PATH
export ANDROID_NDK=/mnt/f/Software/opencv_build/android-ndk-r18b
export PATH=$ANDROID_NDK/tools:$PATH
source ~/.bashrc
java -versio
最后:进入/mnt/c/michael/Software/opencv_build/build目录编译
python3 …/opencv-4.6.0/platforms/android/build_sdk.py --config …/opencv-4.6.0/platforms/android/ndk-18-api-level-21.config.py
使用java -version查看java版本。Java版本必须为1.8,因为Opencv源码用java8写的。
如果用高版本的JAVA,会包下面的错误:
https://blog.csdn.net/weixin_40052298/article/details/124896005
java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
2022年5月21日 · java .lang.NoClassDefFoundError: sun / misc / BASE 64 Encoder. 注释 :sun/misc/BASE64Encoder,只有在jdk1.8之前的版本存在,jdk9以后的版本,就不存 … 解决方法是使用jdk1.8.0_221
并且编译过程中看到Java wrappers为yes时,才会编译.so文件
编译过程中会报下面错误:
samples/android/15-puzzle/.build/bin/example-15-puzzle-debug.apk
Caused by: java.io.IOException: Invalid keystore format
解决方法是将下面文件注释掉,不再编译这个samples
C:\michael\Software\opencv_build\opencv\samples\android CMakeLists.txt
#add_subdirectory(15-puzzle)
修改:F:\Software\opencv_build\opencv-4.6.0\platforms\android\ndk-18-api-level-21.config.py
只编译arm64-v8a,因为本人用真机编译,不用编译其它架构的。
ABIs = [
ABI(“3”, “arm64-v8a”, None, 21),
]
android-sdk_r24.4.1-linux.tar必须联网升级 Android SDK Platform-tools.。
命令为:android update sdk --no-ui
最好是用android-ndk-r18b-linux-x86_64.zip,发现opencv的android SDK也是用这个版本编译的。其实可以在android studio加载java.so库文件时可以看到这个库使用什么工具编译的。
Executing: [‘cmake’, ‘-GNinja’, ‘-DBUILD_TESTS=ON’, ‘-DINSTALL_TESTS=ON’, “-DCMAKE_TOOLCHAIN_FILE=‘/mnt/f/Software/opencv_build/android-ndk-r18b/build/cmake/android.toolchain.cmake’”, “-DINSTALL_CREATE_DISTRIB=‘ON’”, “-DWITH_OPENCL=‘OFF’”, “-DBUILD_KOTLIN_EXTENSIONS=‘ON’”, “-DWITH_IPP=‘OFF’”, “-DWITH_TBB=‘ON’”, “-DBUILD_EXAMPLES=‘OFF’”, “-DBUILD_TESTS=‘OFF’”, “-DBUILD_PERF_TESTS=‘OFF’”, “-DBUILD_DOCS=‘OFF’”, “-DBUILD_ANDROID_EXAMPLES=‘ON’”, “-DINSTALL_ANDROID_EXAMPLES=‘ON’”, “-DANDROID_STL=‘c++_shared’”, “-DANDROID_ABI=‘arm64-v8a’”, “-DANDROID_PLATFORM_ID=‘3’”, “-DANDROID_TOOLCHAIN=‘clang’”, “-DANDROID_NATIVE_API_LEVEL=‘21’”, ‘/mnt/f/Software/opencv_build/opencv-4.6.0’]
Executing: cmake -GNinja -DBUILD_TESTS=ON -DINSTALL_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=‘/mnt/f/Software/opencv_build/android-ndk-r18b/build/cmake/android.toolchain.cmake’ -DINSTALL_CREATE_DISTRIB=‘ON’ -DWITH_OPENCL=‘OFF’ -DBUILD_KOTLIN_EXTENSIONS=‘ON’ -DWITH_IPP=‘OFF’ -DWITH_TBB=‘ON’ -DBUILD_EXAMPLES=‘OFF’ -DBUILD_TESTS=‘OFF’ -DBUILD_PERF_TESTS=‘OFF’ -DBUILD_DOCS=‘OFF’ -DBUILD_ANDROID_EXAMPLES=‘ON’ -DINSTALL_ANDROID_EXAMPLES=‘ON’ -DANDROID_STL=‘c++_shared’ -DANDROID_ABI=‘arm64-v8a’ -DANDROID_PLATFORM_ID=‘3’ -DANDROID_TOOLCHAIN=‘clang’ -DANDROID_NATIVE_API_LEVEL=‘21’ /mnt/f/Software/opencv_build/opencv-4.6.0
– ‘Release’ build type is used by default. Use CMAKE_BUILD_TYPE to specify build type (Release or Debug)
– Check for working CXX compiler: /mnt/f/Software/opencv_build/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
– Check for working CXX compiler: /mnt/f/Software/opencv_build/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ – 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: /mnt/f/Software/opencv_build/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
– Check for working C compiler: /mnt/f/Software/opencv_build/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default.
– Detected processor: aarch64
– Found PythonInterp: /usr/bin/python2.7 (found suitable version “2.7.17”, minimum required is “2.7”)
– Found PythonInterp: /usr/bin/python3 (found suitable version “3.6.7”, 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_WRETURN_TYPE
– Performing Test HAVE_CXX_WRETURN_TYPE - Success
– Performing Test HAVE_C_WRETURN_TYPE
– Performing Test HAVE_C_WRETURN_TYPE - Success
– Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR
– Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success
– Performing Test HAVE_C_WNON_VIRTUAL_DTOR
– Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Success
– Performing Test HAVE_CXX_WADDRESS
– Performing Test HAVE_CXX_WADDRESS - Success
– Performing Test HAVE_C_WADDRESS
– Performing Test HAVE_C_WADDRESS - Success
– Performing Test HAVE_CXX_WSEQUENCE_POINT
– Performing Test HAVE_CXX_WSEQUENCE_POINT - Success
– Performing Test HAVE_C_WSEQUENCE_POINT
– Performing Test HAVE_C_WSEQUENCE_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_WFORMAT_SECURITY
– Performing Test HAVE_CXX_WFORMAT_SECURITY - Success
– Performing Test HAVE_C_WFORMAT_SECURITY
– Performing Test HAVE_C_WFORMAT_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
– Performing Test HAVE_LINK_AS_NEEDED
– Performing Test HAVE_LINK_AS_NEEDED - Success
– Performing Test HAVE_LINK_NO_UNDEFINED
– Performing Test HAVE_LINK_NO_UNDEFINED - 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: /mnt/f/Software/opencv_build/android-ndk-r18b/platforms/android-21/arch-arm64/usr/lib/libz.so (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.1.2, BUILD = opencv-4.6.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_C_WNO_ARRAY_PARAMETER
– Performing Test HAVE_C_WNO_ARRAY_PARAMETER - Failed
– Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
– Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
– 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_STD_C99
– Performing Test HAVE_C_STD_C99 - 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
– Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
– Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION
– Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
– OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.6.0-openjp2-2.4.0
– Check if the system is big endian
– Searching 16 bit integer
– Using unsigned short
– Check if the system is big endian - little endian
– Looking for stdio.h
– Looking for stdio.h - found
– Looking for math.h
– Looking for math.h - found
– Looking for float.h
– Looking for float.h - found
– Looking for time.h
– Looking for time.h - found
– Looking for stdarg.h
– Looking for stdarg.h - found
– Looking for ctype.h
– Looking for ctype.h - found
– Looking for stdint.h
– Looking for stdint.h - found
– Looking for inttypes.h
– Looking for inttypes.h - found
– Looking for sys/stat.h
– Looking for sys/stat.h - found
– Looking for include file malloc.h
– Looking for include file malloc.h - found
– Looking for _aligned_malloc
– Looking for _aligned_malloc - not found
– Looking for posix_memalign
– Looking for posix_memalign - found
– Looking for memalign
– Looking for memalign - found
– Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE
– Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE - Failed
– OpenJPEG libraries will be built from sources: libopenjp2 (version “2.4.0”)
– Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION
– Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION - Failed
– 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_TAUTOLOGICAL_COMPARE
– Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success
– Performing Test HAVE_CXX_WNO_REORDER
– Performing Test HAVE_CXX_WNO_REORDER - Success
– Performing Test HAVE_CXX_WNO_UNUSED_RESULT
– Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success
– Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION
– Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
– TBB: Downloading v2020.2.tar.gz from https://github.com/01org/tbb/archive/v2020.2.tar.gz
– Try 1 failed
CMake Warning at cmake/OpenCVDownload.cmake:248 (message):
TBB: Download failed: 52;“Server returned nothing (no headers, no data)”
For details please refer to the download log file:
/mnt/f/Software/opencv_build/build/o4a/CMakeDownloadLog.txt
Call Stack (most recent call first):
3rdparty/tbb/CMakeLists.txt:15 (ocv_download)
=======================================================================
Couldn’t connect to server from the Internet.
Perhaps direct connections are not allowed in the current network.
To use proxy please check/specify these environment variables:
CMake Warning at cmake/OpenCVDownload.cmake:248 (message):
ADE: Download failed: 7;“Couldn’t connect to server”
For details please refer to the download log file:
/mnt/f/Software/opencv_build/build/o4a/CMakeDownloadLog.txt
Call Stack (most recent call first):
modules/gapi/cmake/DownloadADE.cmake:5 (ocv_download)
modules/gapi/cmake/init.cmake:20 (include)
cmake/OpenCVModule.cmake:298 (include)
cmake/OpenCVModule.cmake:361 (_add_modules_1)
cmake/OpenCVModule.cmake:385 (ocv_glob_modules)
CMakeLists.txt:931 (ocv_register_modules)
– Install to: /mnt/f/Software/opencv_build/build/o4a/install
–
– Configuring done
– Generating done
– Build files have been written to: /mnt/f/Software/opencv_build/build/o4a
Executing: [‘ninja’, ‘opencv_modules’]
Executing: ninja opencv_modules
[944/944] Linking CXX static library lib/arm64-v8a/libopencv_video.a
Executing: [‘ninja’, ‘-j3’, ‘install/strip’]
Executing: ninja -j3 install/strip
[3/17] Generate files for Java bindings
duplicated: CLASS cv::.Algorithm :
SKIP:void cv::Algorithm::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I
SKIP:void cv::Algorithm::read(FileNode fn) due to ARG type FileNode/I
SKIP:AsyncArray cv::dnn::Net::forwardAsync(String outputName = String()) due to RET type AsyncArray
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(vector_MatShape netInputShapes, 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(MatShape netInputShape, vector_int& layersIds, vector_vector_MatShape& inLayersShapes, vector_vector_MatShape& outLayersShapes) due to ARG type vector_vector_MatShape/O
SKIP:cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor(Ptr_DescriptorExtractor dextractor, Ptr_DescriptorMatcher dmatcher) due to ARG type Ptr_DescriptorExtractor/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: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 SimpleBlobDetector_Params::blobColor due to RET type uchar
SKIP:void SimpleBlobDetector_Params::blobColor due to ARG type uchar/I
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: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
SKIP:CorrectionLevel QRCodeEncoder_Params::correction_level due to RET type CorrectionLevel
SKIP:void QRCodeEncoder_Params::correction_level due to ARG type CorrectionLevel/I
SKIP:EncodeMode QRCodeEncoder_Params::mode due to RET type EncodeMode
SKIP:void QRCodeEncoder_Params::mode due to ARG type EncodeMode/I
JAVA: Processing OpenCV modules: 11
Generated files: 239 (updated 239)
[4/17] Copy Java(Android SDK) source files
COPYFILES: … 3 entries (JAVA_SRC_COPY)
COPYFILES: … directory ‘…/gen/java’ with 144 files
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/calib3d/UsacParams.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/MatAt.kt’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/core/MatMatMul.kt’ …
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/ClassificationModel.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/DetectionModel.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/KeypointsModel.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/Layer.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/Model.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/Net.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/SegmentationModel.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/TextDetectionModel.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/TextDetectionModel_DB.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/TextDetectionModel_EAST.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/dnn/TextRecognitionModel.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/features2d/AKAZE.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/features2d/AffineFeature.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/SIFT.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/features2d/SimpleBlobDetector.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/features2d/SimpleBlobDetector_Params.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/IntelligentScissorsMB.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/FaceDetectorYN.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/objdetect/FaceRecognizerSF.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/objdetect/QRCodeEncoder.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/objdetect/QRCodeEncoder_Params.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/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/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/Tracker.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerDaSiamRPN.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerDaSiamRPN_Params.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerGOTURN.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerGOTURN_Params.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerMIL.java’ …
COPYFILES: Copying: ‘android_sdk/src/org/opencv/video/TrackerMIL_Params.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: … directory ‘…/android/java’ with 12 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/CameraActivity.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!
[6/17] 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.
ANDROID_NDK_HOME environment variable required by the samples project is not set
SDK location: /mnt/f/Software/opencv_build/build/OpenCV-android-sdk
Documentation location: /mnt/f/Software/opencv_build/build/OpenCV-android-sdk/sdk/java/javadoc
root@SD-20220518ZLPG:/mnt/f/Software/opencv_build/build#
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。