Latest opencv + contrib modules, missing sdk/java [closed]

asked 2018-02-22 18:45:58 -0500

changsheng1239 gravatar image

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

berak gravatar image

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 - 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
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 ...
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by changsheng1239
close date 2018-03-13 22:50:27.552723


I forgot to mention that I am using the latest android-ndk r16b.

changsheng1239 gravatar imagechangsheng1239 ( 2018-02-22 21:39:53 -0500 )edit

Hello, did you solve this problem? I hame same issue

MustafaKara gravatar imageMustafaKara ( 2018-03-17 06:47:55 -0500 )edit