Hi everyone. I can't create opencv jar with extra modules. when I run cmake-gui, I take this logs: Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6") AVX_512F is not supported by C++ compiler AVX512_SKX is not supported by C++ compiler Dispatch optimization AVX512_SKX is not available, skipped libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.0-pre-libjpeg-turbo Looking for Mfapi.h Looking for Mfapi.h - found found Intel IPP (ICV version): 2017.0.3 [2017.0.3] at: C:/Users/mehmetdu/Desktop/opencv_extra/build/3rdparty/ippicv/ippicv_win found Intel IPP IW sources: 2017.0.3 at: C:/Users/mehmetdu/Desktop/opencv_extra/build/3rdparty/ippicv/ippiw_win Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find BLAS (missing: BLAS_LIBRARIES) LAPACK requires BLAS A library with LAPACK API not found. Please specify library location. Found apache ant: C:/Users/mehmetdu/Desktop/opencvLib/apache-ant-1.10.4/bin/ant.bat (1.8.0) Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file Caffe: NO Protobuf: NO Glog: NO freetype2: NO harfbuzz: NO Module opencv_ovis disabled because OGRE3D was not found No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/Users/mehmetdu/Desktop/opencv_extra/source/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake opencv_dnn: filter out ocl4dnn source code Excluding from source files list: <build>/modules/dnn/layers/layers_common.avx512_skx.cpp Tesseract: NO Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
General configuration for OpenCV 4.0.0-pre ===================================== Version control: unknown
Extra modules: Location (extra): C:/Users/mehmetdu/Desktop/opencv_extra/source/opencv_contrib/modules Version control (extra): unknown
Platform: Timestamp: 2018-07-11T17:41:23Z Host: Windows 10.0.17134 AMD64 CMake: 3.11.4 CMake generator: Visual Studio 15 2017 Win64 CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe MSVC: 1914
CPU/HW features: Baseline: SSE SSE2 SSE3 requested: SSE3 Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX SSE4_1 (3 files): + SSSE3 SSE4_1 SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX AVX2 (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
C/C++: Built as dynamic libs?: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe (ver 19.14.26431.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP4 /MD /O2 /Ob2 /DNDEBUG C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP4 /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx86/x64/cl.exe C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP4 /MD /O2 /Ob2 /DNDEBUG C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP4 /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO Linker flags (Debug): /machine:x64 /debug /INCREMENTAL ccache: NO Precompiled headers: NO Extra dependencies: 3rdparty dependencies:
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 freetype hdf matlab ovis python2 python3 sfm viz Applications: tests perf_tests apps Documentation: javadoc Non-free algorithms: NO
Windows RT support: NO
GUI: Win32 UI: YES VTK support: NO
Media I/O: ZLib: build (ver 1.2.11) JPEG: build-libjpeg-turbo (ver 1.5.3-62) 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) HDR: YES SUNRASTER: YES PXM: YES
Video I/O: Video for Windows: YES DC1394: NO FFMPEG: YES (prebuilt binaries) avcodec: YES (ver 57.107.100) avformat: YES (ver 57.83.100) avutil: YES (ver 55.78.100) swscale: YES (ver 4.8.100) avresample: YES (ver 3.7.0) GStreamer: NO DirectShow: YES Media Foundation: YES
Parallel framework: Concurrency
Trace: YES (with Intel ITT)
Other third-party libraries: Intel IPP: 2017.0.3 [2017.0.3] at: C:/Users/mehmetdu/Desktop/opencv_extra/build/3rdparty/ippicv/ippicv_win Intel IPP IW: sources (2017.0.3) at: C:/Users/mehmetdu/Desktop/opencv_extra/build/3rdparty/ippicv/ippiw_win Lapack: NO Eigen: NO Custom HAL: NO Protobuf: build (3.5.1)
OpenCL: YES (no extra features) Include path: C:/Users/mehmetdu/Desktop/opencv_extra/source/opencv/3rdparty/include/opencl/1.2 Link libraries: Dynamic load
Python (for build): C:/Users/mehmetdu/AppData/Local/Programs/Python/Python35/python.exe
Java:
ant: C:/Users/mehmetdu/Desktop/opencvLib/apache-ant-1.10.4/bin/ant.bat (ver 1.8.0)
JNI: C:/Program Files/Java/jdk1.8.0_162/include C:/Program Files/Java/jdk1.8.0_1strong text62/include/win32 C:/Program Files/Java/jdk1.8.0_162/include
Java wrappers: YES
Java tests: YES
Matlab: NO
Install to: C:/Users/mehmetdu/Desktop/opencv_extra/build/install
Configuring done Generating done
Then I run "make" command in build file, I take error which no rule to make target. Can you help me, why I can create jar ?