Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Latest opencv + contrib modules, missing sdk/java

when I tried to compile the latest opencv with the contrib modules, it compiled successfully but install/sdk/java is missing. I did try to compile the v331 again and it compiles successfully and sdk/java exists without problem. I didn't change any steps between compiling these 2 versions though. Here's my cmake output.


Looking for ccache - not found OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT Found apache ant: C:/apache-ant-1.10.2/bin/ant.bat (1.8.0) CMake Warning at CMakeLists.txt:652 (message): OpenCV requires Android SDK tools revision 14 or newer. Otherwise tests and samples will no be compiled.

Caffe: NO Protobuf: NO Glog: NO tiny-dnn: Download: v1.0.0a3.tar.gz Looking for tiny_dnn.h Looking for tiny_dnn.h - not found Performing Test COMPILER_SUPPORTS_CXX11 Performing Test COMPILER_SUPPORTS_CXX11 - Success Module opencv_dnn_modern disabled because tiny-dnn was not found 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/core/src/convert.avx2.cpp Excluding from source files list: modules/core/src/convert.fp16.cpp Excluding from source files list: modules/core/src/convert.sse4_1.cpp Excluding from source files list: modules/core/test/test_intrin.fp16.cpp Excluding from source files list: modules/imgproc/src/corner.avx.cpp Excluding from source files list: modules/imgproc/src/filter.avx2.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/undistort.avx2.cpp Excluding from source files list: modules/objdetect/src/haar.avx.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 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 CMake Warning at C:/Users/chang/Desktop/opencv-master/cmake/OpenCVDownload.cmake:190 (message): data: Download failed: 28;"Timeout was reached"

For details please refer to the download log file:

C:/Users/chang/Desktop/opencv-master/platforms/android_arm/CMakeDownloadLog.txt

Call Stack (most recent call first): C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:13 (ocv_download)

CMake Warning at C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:26 (message): Face: Can't get model file for face alignment.

CMake Warning at modules/java/android_sdk/CMakeLists.txt:2 (message): 'android' tool required to build Android SDK

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-15-puzzle will not be build

Call Stack (most recent call first): samples/android/15-puzzle/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-face-detection will not be build

Call Stack (most recent call first): samples/android/face-detection/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-image-manipulations will not be build

Call Stack (most recent call first): samples/android/image-manipulations/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-camera-calibration will not be build

Call Stack (most recent call first): samples/android/camera-calibration/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-color-blob-detection will not be build

Call Stack (most recent call first): samples/android/color-blob-detection/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-1-camerapreview will not be build

Call Stack (most recent call first): samples/android/tutorial-1-camerapreview/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-2-mixedprocessing will not be build

Call Stack (most recent call first): samples/android/tutorial-2-mixedprocessing/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-3-cameracontrol will not be build

Call Stack (most recent call first): samples/android/tutorial-3-cameracontrol/CMakeLists.txt:3 (add_android_project)

Sample example-tutorial-4-opencl is disabled, because ANDROID_OPENCL_SDK is not specified

General configuration for OpenCV 3.4.0-dev ===================================== Version control: unknown

Extra modules: Location (extra): C:/Users/chang/Desktop/opencv_contrib-master/modules Version control (extra): unknown

Platform: Timestamp: 2018-02-22T16:34:30Z Host: Windows 10.0.10586 AMD64 Target: Android 1 armv7-a CMake: 3.10.0-rc5 CMake generator: MinGW Makefiles CMake build tool: C:/MinGW/bin/mingw32-make.exe Configuration: Release

CPU/HW features: Baseline: requested: DETECT disabled: VFPV3 NEON

C/C++: Built as dynamic libs?: NO C++ Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++.exe (ver 4.9.0) C++ flags (Release): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C++ flags (Debug): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG C Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe C flags (Release): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C flags (Debug): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG Linker flags (Release): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
Linker flags (Debug): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
ccache: NO Precompiled headers: NO Extra dependencies: z dl m log 3rdparty dependencies: libcpufeatures libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf 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 java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto Disabled: js world Disabled by dependency: - Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz Applications: tests perf_tests Documentation: NO Non-free algorithms: NO

Android: Android ABI: armeabi-v7a STL type: gnustl_static Native API level: android-24 SDK target: android_sdk_target_status-NOTFOUND Android NDK: C:/Users/chang/Desktop/android-ndk-r16b (toolchain: arm-linux-androideabi-4.9) android tool: NO

GUI:

Media I/O: ZLib: z (ver 1.2.3) JPEG: build (ver 90) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.34) TIFF: build (ver 42 - 4.0.9) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)

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)

NVIDIA CUDA: NO

Python (for build): C:/ProgramData/Anaconda3/python.exe

Java: export all functions ant: C:/apache-ant-1.10.2/bin/ant.bat (ver 1.8.0) Java wrappers: YES Java tests: NO

Install to: C:/Users/chang/Desktop/opencv-master/platforms/android_arm/install

Latest opencv + contrib modules, missing sdk/java

when I tried to compile the latest opencv with the contrib modules, it compiled successfully but install/sdk/java is missing. I did try to compile the v331 again and it compiles successfully and sdk/java exists without problem. I didn't change any steps between compiling these 2 versions though. Here's my cmake output.


Looking for ccache - not found OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT Found apache ant: C:/apache-ant-1.10.2/bin/ant.bat (1.8.0) CMake Warning at CMakeLists.txt:652 (message): OpenCV requires Android SDK tools revision 14 or newer. Otherwise tests and samples will no be compiled.

Caffe: NO Protobuf: NO Glog: NO tiny-dnn: Download: v1.0.0a3.tar.gz Looking for tiny_dnn.h Looking for tiny_dnn.h - not found Performing Test COMPILER_SUPPORTS_CXX11 Performing Test COMPILER_SUPPORTS_CXX11 - Success Module opencv_dnn_modern disabled because tiny-dnn was not found 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/core/src/convert.avx2.cpp Excluding from source files list: modules/core/src/convert.fp16.cpp Excluding from source files list: modules/core/src/convert.sse4_1.cpp Excluding from source files list: modules/core/test/test_intrin.fp16.cpp Excluding from source files list: modules/imgproc/src/corner.avx.cpp Excluding from source files list: modules/imgproc/src/filter.avx2.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/undistort.avx2.cpp Excluding from source files list: modules/objdetect/src/haar.avx.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 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 CMake Warning at C:/Users/chang/Desktop/opencv-master/cmake/OpenCVDownload.cmake:190 (message): data: Download failed: 28;"Timeout was reached"

For details please refer to the download log file:

C:/Users/chang/Desktop/opencv-master/platforms/android_arm/CMakeDownloadLog.txt

Call Stack (most recent call first): C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:13 (ocv_download)

CMake Warning at C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:26 (message): Face: Can't get model file for face alignment.

CMake Warning at modules/java/android_sdk/CMakeLists.txt:2 (message): 'android' tool required to build Android SDK

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-15-puzzle will not be build

Call Stack (most recent call first): samples/android/15-puzzle/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-face-detection will not be build

Call Stack (most recent call first): samples/android/face-detection/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-image-manipulations will not be build

Call Stack (most recent call first): samples/android/image-manipulations/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-camera-calibration will not be build

Call Stack (most recent call first): samples/android/camera-calibration/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-color-blob-detection will not be build

Call Stack (most recent call first): samples/android/color-blob-detection/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-1-camerapreview will not be build

Call Stack (most recent call first): samples/android/tutorial-1-camerapreview/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-2-mixedprocessing will not be build

Call Stack (most recent call first): samples/android/tutorial-2-mixedprocessing/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-3-cameracontrol will not be build

Call Stack (most recent call first): samples/android/tutorial-3-cameracontrol/CMakeLists.txt:3 (add_android_project)

Sample example-tutorial-4-opencl is disabled, because ANDROID_OPENCL_SDK is not specified

General configuration for OpenCV 3.4.0-dev ===================================== Version control: unknown

Extra modules: Location (extra): C:/Users/chang/Desktop/opencv_contrib-master/modules Version control (extra): unknown

Platform: Timestamp: 2018-02-22T16:34:30Z Host: Windows 10.0.10586 AMD64 Target: Android 1 armv7-a CMake: 3.10.0-rc5 CMake generator: MinGW Makefiles CMake build tool: C:/MinGW/bin/mingw32-make.exe Configuration: Release

CPU/HW features: Baseline: requested: DETECT disabled: VFPV3 NEON

C/C++: Built as dynamic libs?: NO C++ Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++.exe (ver 4.9.0) C++ flags (Release): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C++ flags (Debug): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG C Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe C flags (Release): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C flags (Debug): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG Linker flags (Release): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
Linker flags (Debug): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
ccache: NO Precompiled headers: NO Extra dependencies: z dl m log 3rdparty dependencies: libcpufeatures libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf 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 java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto Disabled: js world Disabled by dependency: - Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz Applications: tests perf_tests Documentation: NO Non-free algorithms: NO

Android: Android ABI: armeabi-v7a STL type: gnustl_static Native API level: android-24 SDK target: android_sdk_target_status-NOTFOUND Android NDK: C:/Users/chang/Desktop/android-ndk-r16b (toolchain: arm-linux-androideabi-4.9) android tool: NO

GUI:

Media I/O: ZLib: z (ver 1.2.3) JPEG: build (ver 90) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.34) TIFF: build (ver 42 - 4.0.9) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)

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)

NVIDIA CUDA: NO

Python (for build): C:/ProgramData/Anaconda3/python.exe

Java: export all functions ant: C:/apache-ant-1.10.2/bin/ant.bat (ver 1.8.0) Java wrappers: YES Java tests: NO

Install to: C:/Users/chang/Desktop/opencv-master/platforms/android_arm/install

Latest opencv + contrib modules, missing sdk/java

when I tried to compile the latest opencv with the contrib modules, it compiled successfully but install/sdk/java is missing. I did try to compile the v331 again and it compiles successfully and sdk/java exists without problem. I didn't change any steps between compiling these 2 versions though. Here's my cmake output.


Looking for ccache - not found OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT Found apache ant: C:/apache-ant-1.10.2/bin/ant.bat (1.8.0) CMake Warning at CMakeLists.txt:652 (message): OpenCV requires Android SDK tools revision 14 or newer. Otherwise tests and samples will no be compiled.

Caffe: NO Protobuf: NO Glog: NO tiny-dnn: Download: v1.0.0a3.tar.gz Looking for tiny_dnn.h Looking for tiny_dnn.h - not found Performing Test COMPILER_SUPPORTS_CXX11 Performing Test COMPILER_SUPPORTS_CXX11 - Success Module opencv_dnn_modern disabled because tiny-dnn was not found 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/core/src/convert.avx2.cpp Excluding from source files list: modules/core/src/convert.fp16.cpp Excluding from source files list: modules/core/src/convert.sse4_1.cpp Excluding from source files list: modules/core/test/test_intrin.fp16.cpp Excluding from source files list: modules/imgproc/src/corner.avx.cpp Excluding from source files list: modules/imgproc/src/filter.avx2.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/undistort.avx2.cpp Excluding from source files list: modules/objdetect/src/haar.avx.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 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 CMake Warning at C:/Users/chang/Desktop/opencv-master/cmake/OpenCVDownload.cmake:190 (message): data: Download failed: 28;"Timeout was reached"

For details please refer to the download log file:

C:/Users/chang/Desktop/opencv-master/platforms/android_arm/CMakeDownloadLog.txt

Call Stack (most recent call first): C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:13 (ocv_download)

CMake Warning at C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:26 (message): Face: Can't get model file for face alignment.

CMake Warning at modules/java/android_sdk/CMakeLists.txt:2 (message): 'android' tool required to build Android SDK

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-15-puzzle will not be build

Call Stack (most recent call first): samples/android/15-puzzle/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-face-detection will not be build

Call Stack (most recent call first): samples/android/face-detection/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-image-manipulations will not be build

Call Stack (most recent call first): samples/android/image-manipulations/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-camera-calibration will not be build

Call Stack (most recent call first): samples/android/camera-calibration/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-color-blob-detection will not be build

Call Stack (most recent call first): samples/android/color-blob-detection/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-1-camerapreview will not be build

Call Stack (most recent call first): samples/android/tutorial-1-camerapreview/CMakeLists.txt:3 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-2-mixedprocessing will not be build

Call Stack (most recent call first): samples/android/tutorial-2-mixedprocessing/CMakeLists.txt:9 (add_android_project)

CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

                   The project example-tutorial-3-cameracontrol will not be build

Call Stack (most recent call first): samples/android/tutorial-3-cameracontrol/CMakeLists.txt:3 (add_android_project)

Sample example-tutorial-4-opencl is disabled, because ANDROID_OPENCL_SDK is not specified

General configuration for OpenCV 3.4.0-dev ===================================== Version control: unknown

Extra modules: Location (extra): C:/Users/chang/Desktop/opencv_contrib-master/modules Version control (extra): unknown

Platform: Timestamp: 2018-02-22T16:34:30Z Host: Windows 10.0.10586 AMD64 Target: Android 1 armv7-a CMake: 3.10.0-rc5 CMake generator: MinGW Makefiles CMake build tool: C:/MinGW/bin/mingw32-make.exe Configuration: Release

CPU/HW features: Baseline: requested: DETECT disabled: VFPV3 NEON

C/C++: Built as dynamic libs?: NO C++ Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++.exe (ver 4.9.0) C++ flags (Release): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C++ flags (Debug): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG C Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe C flags (Release): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C flags (Debug): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG Linker flags (Release): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
Linker flags (Debug): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
ccache: NO Precompiled headers: NO Extra dependencies: z dl m log 3rdparty dependencies: libcpufeatures libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf 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 java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto Disabled: js world Disabled by dependency: - Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz Applications: tests perf_tests Documentation: NO Non-free algorithms: NO

Android: Android ABI: armeabi-v7a STL type: gnustl_static Native API level: android-24 SDK target: android_sdk_target_status-NOTFOUND Android NDK: C:/Users/chang/Desktop/android-ndk-r16b (toolchain: arm-linux-androideabi-4.9) android tool: NO

GUI:

Media I/O: ZLib: z (ver 1.2.3) JPEG: build (ver 90) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.34) TIFF: build (ver 42 - 4.0.9) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)

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)

NVIDIA CUDA: NO

Python (for build): C:/ProgramData/Anaconda3/python.exe

Java: export all functions ant: C:/apache-ant-1.10.2/bin/ant.bat (ver 1.8.0) Java wrappers: YES Java tests: NO

Install to: C:/Users/chang/Desktop/opencv-master/platforms/android_arm/install

click to hide/show revision 4
None

updated 2018-02-22 21:31:02 -0500

berak gravatar image

Latest opencv + contrib modules, missing sdk/java

when I tried to compile the latest opencv with the contrib modules, it compiled successfully but install/sdk/java is missing. I did try to compile the v331 again and it compiles successfully and sdk/java exists without problem. I didn't change any steps between compiling these 2 versions though. Here's my cmake output.


----------
Looking for ccache - not found
OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT
Found apache ant: C:/apache-ant-1.10.2/bin/ant.bat (1.8.0)
CMake Warning at CMakeLists.txt:652 (message):
  OpenCV requires Android SDK tools revision 14 or newer.  Otherwise tests
  and samples will no be compiled.

compiled. Caffe: NO Protobuf: NO Glog: NO tiny-dnn: Download: v1.0.0a3.tar.gz Looking for tiny_dnn.h Looking for tiny_dnn.h - not found Performing Test COMPILER_SUPPORTS_CXX11 Performing Test COMPILER_SUPPORTS_CXX11 - Success Module opencv_dnn_modern disabled because tiny-dnn was not found 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/core/src/convert.avx2.cpp Excluding from source files list: modules/core/src/convert.fp16.cpp Excluding from source files list: modules/core/src/convert.sse4_1.cpp Excluding from source files list: modules/core/test/test_intrin.fp16.cpp Excluding from source files list: modules/imgproc/src/corner.avx.cpp Excluding from source files list: modules/imgproc/src/filter.avx2.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/undistort.avx2.cpp Excluding from source files list: modules/objdetect/src/haar.avx.cpp Excluding from source files list: <build>/modules/dnn/layers/layers_common.avx.cpp <BUILD>/modules/dnn/layers/layers_common.avx.cpp Excluding from source files list: <build>/modules/dnn/layers/layers_common.avx2.cpp <BUILD>/modules/dnn/layers/layers_common.avx2.cpp Excluding from source files list: <build>/modules/dnn/layers/layers_common.avx512_skx.cpp <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 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 CMake Warning at C:/Users/chang/Desktop/opencv-master/cmake/OpenCVDownload.cmake:190 (message): data: Download failed: 28;"Timeout was reached"

reached" For details please refer to the download log file:

C:/Users/chang/Desktop/opencv-master/platforms/android_arm/CMakeDownloadLog.txt

file: C:/Users/chang/Desktop/opencv-master/platforms/android_arm/CMakeDownloadLog.txt Call Stack (most recent call first): C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:13 (ocv_download)

(ocv_download) CMake Warning at C:/Users/chang/Desktop/opencv_contrib-master/modules/face/CMakeLists.txt:26 (message): Face: Can't get model file for face alignment.

alignment. CMake Warning at modules/java/android_sdk/CMakeLists.txt:2 (message): 'android' tool required to build Android SDK

SDK CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-15-puzzle will not be build

Call Stack (most recent call first): samples/android/15-puzzle/CMakeLists.txt:3 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-face-detection will not be build

Call Stack (most recent call first): samples/android/face-detection/CMakeLists.txt:9 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-image-manipulations will not be build

Call Stack (most recent call first): samples/android/image-manipulations/CMakeLists.txt:3 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-camera-calibration will not be build

Call Stack (most recent call first): samples/android/camera-calibration/CMakeLists.txt:3 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-color-blob-detection will not be build

Call Stack (most recent call first): samples/android/color-blob-detection/CMakeLists.txt:3 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-tutorial-1-camerapreview will not be build

Call Stack (most recent call first): samples/android/tutorial-1-camerapreview/CMakeLists.txt:3 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-tutorial-2-mixedprocessing will not be build

Call Stack (most recent call first): samples/android/tutorial-2-mixedprocessing/CMakeLists.txt:9 (add_android_project)

(add_android_project) CMake Warning at cmake/OpenCVDetectAndroidSDK.cmake:205 (message): Can not find any SDK target compatible with: 24 11

11

                       The project example-tutorial-3-cameracontrol will not be build

Call Stack (most recent call first): samples/android/tutorial-3-cameracontrol/CMakeLists.txt:3 (add_android_project)

(add_android_project) Sample example-tutorial-4-opencl is disabled, because ANDROID_OPENCL_SDK is not specified

specified General configuration for OpenCV 3.4.0-dev ===================================== Version control: unknown

unknown Extra modules: Location (extra): C:/Users/chang/Desktop/opencv_contrib-master/modules Version control (extra): unknown

unknown Platform: Timestamp: 2018-02-22T16:34:30Z Host: Windows 10.0.10586 AMD64 Target: Android 1 armv7-a CMake: 3.10.0-rc5 CMake generator: MinGW Makefiles CMake build tool: C:/MinGW/bin/mingw32-make.exe Configuration: Release

Release CPU/HW features: Baseline: requested: DETECT disabled: VFPV3 NEON

NEON C/C++: Built as dynamic libs?: NO C++ Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++.exe (ver 4.9.0) C++ flags (Release): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C++ flags (Debug): -fexceptions -frtti -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG C Compiler: C:/Users/chang/Desktop/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe C flags (Release): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG C flags (Debug): -fexceptions -Wno-psabi --sysroot=C:/Users/chang/Desktop/android-ndk-r16b/platforms/android-24/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fdata-sections -ffunction-sections -Wa,--noexecstack -DANDROID -D__ANDROID_API__=24 -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -fomit-frame-pointer -mfp16-format=ieee -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -DDEBUG -D_DEBUG Linker flags (Release): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
Linker flags (Debug): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
ccache: NO Precompiled headers: NO Extra dependencies: z dl m log 3rdparty dependencies: libcpufeatures libprotobuf libjpeg libwebp libpng libtiff libjasper IlmImf tegra_hal

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 java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto Disabled: js world Disabled by dependency: - Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf matlab ovis python2 python3 sfm viz Applications: tests perf_tests Documentation: NO Non-free algorithms: NO

NO Android: Android ABI: armeabi-v7a STL type: gnustl_static Native API level: android-24 SDK target: android_sdk_target_status-NOTFOUND Android NDK: C:/Users/chang/Desktop/android-ndk-r16b (toolchain: arm-linux-androideabi-4.9) android tool: NO

NO GUI:

Media I/O: ZLib: z (ver 1.2.3) JPEG: build (ver 90) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.34) TIFF: build (ver 42 - 4.0.9) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)

1.7.1) Video I/O:

I/O: Parallel framework: pthreads

pthreads Trace: YES (built-in)

(built-in) Other third-party libraries: Custom HAL: YES (carotene (ver 0.0.1)) Protobuf: build (3.5.1)

(3.5.1) NVIDIA CUDA: NO

NO Python (for build): C:/ProgramData/Anaconda3/python.exe

C:/ProgramData/Anaconda3/python.exe Java: export all functions ant: C:/apache-ant-1.10.2/bin/ant.bat (ver 1.8.0) Java wrappers: YES Java tests: NO

NO Install to: C:/Users/chang/Desktop/opencv-master/platforms/android_arm/install

C:/Users/chang/Desktop/opencv-master/platforms/android_arm/install