# Revision history [back]

### Makefile is not generated when building OpenCV with Opencv_contrib from source

Hello OpenCV community, I have been trying to build the OpenCV with OpenCV_contrib libraries for JAVA for nearly a week and have ran out of options. I am sure that there is a duplicate for this out there but I have not been able to find it. 1. Following these instructions: https://docs.opencv.org/3.4.3/d3/d52/tutorial_windows_install.html I am able to successfully build the project. I confirmed this by running some of the applications generated. However, the build does not include a makefile so I do not know how to create a jar to import into JAVA. 2. Following these instructions: https://github.com/opencv/opencv_contrib/blob/master/README.md Again, same result. No Makefile. Please see the compilation below. If anyone has any suggestions, I really appreciate it!

Thank you.

$cmake -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules/ opencv -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.16299. -- The CXX compiler identification is MSVC 19.16.27027.1 -- The C compiler identification is MSVC 19.16.27027.1 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) -- Performing Test HAVE_CXX11 - Success -- Update variable PYTHON2_EXECUTABLE from environment: C:/Python27/python.exe -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.8", minimum required is "2.7") -- Found PythonLibs: C:/Python27/libs/python27.lib (found suitable exact version "2.7.8") -- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (found suitable version "3.7.1", minimum required is "3.2") -- Found PythonLibs: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (found suitable exact version "3.7.1") -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- 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 -- Looking for fseeko -- Looking for fseeko - not found -- Check size of off64_t -- Check size of off64_t - failed -- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-dev-libjpeg-turbo -- Check size of size_t -- Check size of size_t - done -- Looking for assert.h -- Looking for assert.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 - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.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 -- 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 unsigned long -- Check size of unsigned 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 -- Looking for memmove -- Looking for memmove - not found -- Looking for setmode -- Looking for setmode - found -- Looking for strcasecmp -- Looking for strcasecmp - not 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 -- IPPICV: Download: ippicv_2019_win_ia32_20180723_general.zip -- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- found Intel IPP Integration Wrappers sources: 2019.0.0 -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- LAPACK requires BLAS -- A library with LAPACK API not found. Please specify library location. Picked up _JAVA_OPTIONS: -Xmx512M -- Found apache ant: C:/apache-ant-1.10.5/bin/ant.bat (1.10.5) -- Found JNI: C:/Program Files/Java/jdk1.8.0_191/lib/jawt.lib -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- ADE: Download: v0.1.1d.zip -- OpenCV Python: during development append to PYTHONPATH: C:/lib/opencv_build/python_loader -- FFMPEG: Download: opencv_ffmpeg.dll -- FFMPEG: Download: opencv_ffmpeg_64.dll -- FFMPEG: Download: ffmpeg_version.cmake -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Caffe: NO -- Protobuf: NO -- Glog: NO -- freetype2: NO -- harfbuzz: NO -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found:Eigen Glog/Gflags -- Excluding from source files list: <build>/modules/core/test/test_intrin128.avx2.cpp -- Excluding from source files list: <build>/modules/core/test/test_intrin256.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/filter.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/resize.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/sumpixels.avx512_skx.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: <build>/opencv/modules/features2d/src/fast.avx2.cpp -- Tesseract: NO -- Excluding from source files list: <build>/opencv/modules/calib3d/src/undistort.avx2.cpp -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i -- xfeatures2d/vgg: Download: vgg_generated_48.i -- xfeatures2d/vgg: Download: vgg_generated_64.i -- xfeatures2d/vgg: Download: vgg_generated_80.i -- xfeatures2d/vgg: Download: vgg_generated_120.i -- data: Download: face_landmark_model.dat CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message): CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory Call Stack (most recent call first): ## CMakeLists.txt:1056 (include) -- General configuration for OpenCV 4.0.1-dev ===================================== ## -- Version control: unknown -- Extra modules: -- Location (extra): C:/lib/opencv_build/opencv_contrib/modules ## -- Version control (extra): unknown -- Platform: -- Timestamp: 2019-02-15T04:03:43Z -- Host: Windows 10.0.16299 AMD64 -- CMake: 3.14.0-rc1 -- CMake generator: Visual Studio 15 2017 -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe ## -- MSVC: 1916 -- CPU/HW features: -- Baseline: SSE SSE2 -- requested: SSE2 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX -- requested: SSE4_1 SSE4_2 AVX FP16 -- SSE4_1 (8 files): + SSE3 SSSE3 SSE4_1 -- SSE4_2 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX ## -- AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe (ver 19.16.27027.1) -- 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 /fp:fast /arch:SSE /arch:SSE2 /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 /fp:fast /arch:SSE /arch:SSE2 /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.16.27023/bin/Hostx86/x86/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/fp:fast /arch:SSE /arch:SSE2 /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/fp:fast /arch:SSE /arch:SSE2 /MP4 /MDd /Zi /Ob0 /Od /RTC1 -- Linker flags (Release): /machine:X86 /INCREMENTAL:NO -- Linker flags (Debug): /machine:X86 /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: ## -- 3rdparty dependencies: -- OpenCV modules: -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 python_bindings_generatorreg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf js matlab ovis sfm viz -- Applications: tests perf_tests apps -- Documentation: NO ## -- 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.35) -- 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 ## -- PFM: YES -- Video I/O: -- DC1394: NO -- FFMPEG: YES (prebuilt binaries) -- avcodec: YES (58.35.100) -- avformat: YES (58.20.100) -- avutil: YES (56.22.100) -- swscale: YES (5.3.100) -- avresample: YES (4.0.0) -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES ## -- DXVA: YES ## -- Parallel framework: Concurrency ## -- Trace: YES (with Intel ITT) -- Other third-party libraries: -- Intel IPP: 2019.0.0 Gold [2019.0.0] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- Intel IPP IW: sources (2019.0.0) -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Lapack: NO -- Eigen: NO -- Custom HAL: NO ## -- Protobuf: build (3.5.1) -- OpenCL: YES (no extra features) -- Include path: C:/lib/opencv_build/opencv/3rdparty/include/opencl/1.2 ## -- Link libraries: Dynamic load -- Python 2: -- Interpreter: C:/Python27/python.exe (ver 2.7.8) -- Libraries: C:/Python27/libs/python27.lib (ver 2.7.8) -- numpy: C:/Python27/lib/site-packages/numpy/core/include (ver 1.16.1) ## -- install path: C:/Python27/Lib/site-packages/cv2/python-2.7 -- Python 3: -- Interpreter: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (ver 3.7.1) -- Libraries: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (ver 3.7.1) -- numpy: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/lib/site-packages/numpy/core/include (ver 1.15.4) ## -- install path: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/cv2/python-3.7 ## -- Python (for build): C:/Python27/python.exe -- Java: -- ant: C:/apache-ant-1.10.5/bin/ant.bat (ver 1.10.5) -- JNI: C:/Program Files/Java/jdk1.8.0_191/include C:/Program Files/Java/jdk1.8.0_191/include/win32 C:/Program Files/Java/jdk1.8.0_191/include -- Java wrappers: YES ## -- Java tests: YES -- Install to: C:/lib/opencv_build/install ## -- ----------------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: C:/lib/opencv_build user1@Windows MINGW64 /c/lib/opencv_build$ ls 3rdparty/ CMakeFiles/ data/ OpenCV.sln opencv_tests.vcxproj.filters RUN_TESTS.vcxproj version_string.tmp ALL_BUILD.vcxproj CMakeVars.txt doc/ opencv_contrib/ opencv_tests_config.hpp RUN_TESTS.vcxproj.filters win-install/ ALL_BUILD.vcxproj.filters configured/ downloads/ opencv_data_config.hpp opencv2/ setup_vars.cmd ZERO_CHECK.vcxproj apps/ CPackConfig.cmake include/ opencv_modules.vcxproj OpenCVConfig.cmake testdata/ ZERO_CHECK.vcxproj.filters bin/ CPackSourceConfig.cmake INSTALL.vcxproj opencv_modules.vcxproj.filters OpenCVConfig-version.cmake test-reports/ cmake_install.cmake CTestTestfile.cmake INSTALL.vcxproj.filters opencv_perf_tests.vcxproj OpenCVModules.cmake text_config.hpp cmake_uninstall.cmake custom_hal.hpp java_test/ opencv_perf_tests.vcxproj.filters PACKAGE.vcxproj tmp/ CMakeCache.txt cv_cpu_config.h modules/ opencv_python_config.cmake PACKAGE.vcxproj.filters uninstall.vcxproj CMakeDownloadLog.txt cvconfig.h opencv/ opencv_tests.vcxproj python_loader/ uninstall.vcxproj.filters

 2 None berak 30119 ●4 ●75 ●296

### Makefile is not generated when building OpenCV with Opencv_contrib from source

Hello OpenCV community, I have been trying to build the OpenCV with OpenCV_contrib libraries for JAVA for nearly a week and have ran out of options. I am sure that there is a duplicate for this out there but I have not been able to find it. 1. Following these instructions: https://docs.opencv.org/3.4.3/d3/d52/tutorial_windows_install.html I am able to successfully build the project. I confirmed this by running some of the applications generated. However, the build does not include a makefile so I do not know how to create a jar to import into JAVA. 2. Following these instructions: https://github.com/opencv/opencv_contrib/blob/master/README.md Again, same result. No Makefile. Please see the compilation below. If anyone has any suggestions, I really appreciate it!

Thank you.

$cmake -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules/ opencv -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.16299. -- The CXX compiler identification is MSVC 19.16.27027.1 -- The C compiler identification is MSVC 19.16.27027.1 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) -- Performing Test HAVE_CXX11 - Success -- Update variable PYTHON2_EXECUTABLE from environment: C:/Python27/python.exe -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.8", minimum required is "2.7") -- Found PythonLibs: C:/Python27/libs/python27.lib (found suitable exact version "2.7.8") -- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (found suitable version "3.7.1", minimum required is "3.2") -- Found PythonLibs: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (found suitable exact version "3.7.1") -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- 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 -- Looking for fseeko -- Looking for fseeko - not found -- Check size of off64_t -- Check size of off64_t - failed -- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-dev-libjpeg-turbo -- Check size of size_t -- Check size of size_t - done -- Looking for assert.h -- Looking for assert.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 - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.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 -- 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 unsigned long -- Check size of unsigned 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 -- Looking for memmove -- Looking for memmove - not found -- Looking for setmode -- Looking for setmode - found -- Looking for strcasecmp -- Looking for strcasecmp - not 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 -- IPPICV: Download: ippicv_2019_win_ia32_20180723_general.zip -- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- found Intel IPP Integration Wrappers sources: 2019.0.0 -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- LAPACK requires BLAS -- A library with LAPACK API not found. Please specify library location. Picked up _JAVA_OPTIONS: -Xmx512M -- Found apache ant: C:/apache-ant-1.10.5/bin/ant.bat (1.10.5) -- Found JNI: C:/Program Files/Java/jdk1.8.0_191/lib/jawt.lib -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- ADE: Download: v0.1.1d.zip -- OpenCV Python: during development append to PYTHONPATH: C:/lib/opencv_build/python_loader -- FFMPEG: Download: opencv_ffmpeg.dll -- FFMPEG: Download: opencv_ffmpeg_64.dll -- FFMPEG: Download: ffmpeg_version.cmake -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Caffe: NO -- Protobuf: NO -- Glog: NO -- freetype2: NO -- harfbuzz: NO -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found:Eigen Glog/Gflags -- Excluding from source files list: <build>/modules/core/test/test_intrin128.avx2.cpp <BUILD>/modules/core/test/test_intrin128.avx2.cpp -- Excluding from source files list: <build>/modules/core/test/test_intrin256.avx2.cpp <BUILD>/modules/core/test/test_intrin256.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/filter.avx2.cpp <BUILD>/opencv/modules/imgproc/src/filter.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/imgwarp.avx2.cpp <BUILD>/opencv/modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/resize.avx2.cpp <BUILD>/opencv/modules/imgproc/src/resize.avx2.cpp -- Excluding from source files list: <build>/opencv/modules/imgproc/src/sumpixels.avx512_skx.cpp <BUILD>/opencv/modules/imgproc/src/sumpixels.avx512_skx.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: <build>/opencv/modules/features2d/src/fast.avx2.cpp <BUILD>/opencv/modules/features2d/src/fast.avx2.cpp -- Tesseract: NO -- Excluding from source files list: <build>/opencv/modules/calib3d/src/undistort.avx2.cpp <BUILD>/opencv/modules/calib3d/src/undistort.avx2.cpp -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i -- xfeatures2d/vgg: Download: vgg_generated_48.i -- xfeatures2d/vgg: Download: vgg_generated_64.i -- xfeatures2d/vgg: Download: vgg_generated_80.i -- xfeatures2d/vgg: Download: vgg_generated_120.i -- data: Download: face_landmark_model.dat CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message): CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory Call Stack (most recent call first): ## first): CMakeLists.txt:1056 (include) (include) -- -- General configuration for OpenCV 4.0.1-dev ===================================== ## ===================================== -- Version control: unknown unknown -- -- Extra modules: -- Location (extra): C:/lib/opencv_build/opencv_contrib/modules ## C:/lib/opencv_build/opencv_contrib/modules -- Version control (extra): unknown unknown -- -- Platform: -- Timestamp: 2019-02-15T04:03:43Z -- Host: Windows 10.0.16299 AMD64 -- CMake: 3.14.0-rc1 -- CMake generator: Visual Studio 15 2017 -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe ## Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe -- MSVC: 1916 1916 -- -- CPU/HW features: -- Baseline: SSE SSE2 -- requested: SSE2 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX -- requested: SSE4_1 SSE4_2 AVX FP16 -- SSE4_1 (8 files): + SSE3 SSSE3 SSE4_1 -- SSE4_2 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX ## AVX -- AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX AVX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe (ver 19.16.27027.1) -- 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 /fp:fast /arch:SSE /arch:SSE2 /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 /fp:fast /arch:SSE /arch:SSE2 /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.16.27023/bin/Hostx86/x86/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/fp:fast /arch:SSE /arch:SSE2 /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/fp:fast /arch:SSE /arch:SSE2 /MP4 /MDd /Zi /Ob0 /Od /RTC1 -- Linker flags (Release): /machine:X86 /INCREMENTAL:NO -- Linker flags (Debug): /machine:X86 /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: ## dependencies: -- 3rdparty dependencies: dependencies: -- -- OpenCV modules: -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 python_bindings_generatorreg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf js matlab ovis sfm viz -- Applications: tests perf_tests apps -- Documentation: NO ## NO -- Non-free algorithms: NO ## NO -- -- Windows RT support: NO NO -- -- GUI: -- Win32 UI: YES ## YES -- VTK support: NO 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.35) -- 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 ## YES -- PFM: YES YES -- -- Video I/O: -- DC1394: NO -- FFMPEG: YES (prebuilt binaries) -- avcodec: YES (58.35.100) -- avformat: YES (58.20.100) -- avutil: YES (56.22.100) -- swscale: YES (5.3.100) -- avresample: YES (4.0.0) -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES ## YES -- DXVA: YES ## YES -- -- Parallel framework: Concurrency ## Concurrency -- -- Trace: YES (with Intel ITT) ITT) -- -- Other third-party libraries: -- Intel IPP: 2019.0.0 Gold [2019.0.0] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- Intel IPP IW: sources (2019.0.0) -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Lapack: NO -- Eigen: NO -- Custom HAL: NO ## NO -- Protobuf: build (3.5.1) (3.5.1) -- -- OpenCL: YES (no extra features) -- Include path: C:/lib/opencv_build/opencv/3rdparty/include/opencl/1.2 ## C:/lib/opencv_build/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load load -- -- Python 2: -- Interpreter: C:/Python27/python.exe (ver 2.7.8) -- Libraries: C:/Python27/libs/python27.lib (ver 2.7.8) -- numpy: C:/Python27/lib/site-packages/numpy/core/include (ver 1.16.1) ## 1.16.1) -- install path: C:/Python27/Lib/site-packages/cv2/python-2.7 C:/Python27/Lib/site-packages/cv2/python-2.7 -- -- Python 3: -- Interpreter: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (ver 3.7.1) -- Libraries: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (ver 3.7.1) -- numpy: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/lib/site-packages/numpy/core/include (ver 1.15.4) ## 1.15.4) -- install path: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/cv2/python-3.7 ## C:/Users/user1/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/cv2/python-3.7 -- -- Python (for build): C:/Python27/python.exe C:/Python27/python.exe -- -- Java: -- ant: C:/apache-ant-1.10.5/bin/ant.bat (ver 1.10.5) -- JNI: C:/Program Files/Java/jdk1.8.0_191/include C:/Program Files/Java/jdk1.8.0_191/include/win32 C:/Program Files/Java/jdk1.8.0_191/include -- Java wrappers: YES ## YES -- Java tests: YES YES -- -- Install to: C:/lib/opencv_build/install ## -- ----------------------------------------------------------------- C:/lib/opencv_build/install -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: C:/lib/opencv_build user1@Windows MINGW64 /c/lib/opencv_build$ ls 3rdparty/ CMakeFiles/ data/ OpenCV.sln opencv_tests.vcxproj.filters RUN_TESTS.vcxproj version_string.tmp ALL_BUILD.vcxproj CMakeVars.txt doc/ opencv_contrib/ opencv_tests_config.hpp RUN_TESTS.vcxproj.filters win-install/ ALL_BUILD.vcxproj.filters configured/ downloads/ opencv_data_config.hpp opencv2/ setup_vars.cmd ZERO_CHECK.vcxproj apps/ CPackConfig.cmake include/ opencv_modules.vcxproj OpenCVConfig.cmake testdata/ ZERO_CHECK.vcxproj.filters bin/ CPackSourceConfig.cmake INSTALL.vcxproj opencv_modules.vcxproj.filters OpenCVConfig-version.cmake test-reports/ cmake_install.cmake CTestTestfile.cmake INSTALL.vcxproj.filters opencv_perf_tests.vcxproj OpenCVModules.cmake text_config.hpp cmake_uninstall.cmake custom_hal.hpp java_test/ opencv_perf_tests.vcxproj.filters PACKAGE.vcxproj tmp/ CMakeCache.txt cv_cpu_config.h modules/ opencv_python_config.cmake PACKAGE.vcxproj.filters uninstall.vcxproj CMakeDownloadLog.txt cvconfig.h opencv/ opencv_tests.vcxproj python_loader/ uninstall.vcxproj.filters

uninstall.vcxproj.filters
 3 None berak 30119 ●4 ●75 ●296

### Makefile is not generated when building OpenCV with Opencv_contrib from source

Hello OpenCV community, I have been trying to build the OpenCV with OpenCV_contrib libraries for JAVA for nearly a week and have ran out of options. I am sure that there is a duplicate for this out there but I have not been able to find it. 1. Following these instructions: https://docs.opencv.org/3.4.3/d3/d52/tutorial_windows_install.html I am able to successfully build the project. I confirmed this by running some of the applications generated. However, the build does not include a makefile so I do not know how to create a jar to import into JAVA. 2. Following these instructions: https://github.com/opencv/opencv_contrib/blob/master/README.md Again, same result. No Makefile. Please see the compilation below. If anyone has any suggestions, I really appreciate it!

Thank you.

$cmake -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules/ opencv -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.16299. -- The CXX compiler identification is MSVC 19.16.27027.1 -- The C compiler identification is MSVC 19.16.27027.1 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) -- Performing Test HAVE_CXX11 - Success -- Update variable PYTHON2_EXECUTABLE from environment: C:/Python27/python.exe -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.8", minimum required is "2.7") -- Found PythonLibs: C:/Python27/libs/python27.lib (found suitable exact version "2.7.8") -- Found PythonInterp: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (found suitable version "3.7.1", minimum required is "3.2") -- Found PythonLibs: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (found suitable exact version "3.7.1") -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- 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 -- Looking for fseeko -- Looking for fseeko - not found -- Check size of off64_t -- Check size of off64_t - failed -- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-dev-libjpeg-turbo -- Check size of size_t -- Check size of size_t - done -- Looking for assert.h -- Looking for assert.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 - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.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 -- 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 unsigned long -- Check size of unsigned 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 -- Looking for memmove -- Looking for memmove - not found -- Looking for setmode -- Looking for setmode - found -- Looking for strcasecmp -- Looking for strcasecmp - not 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 -- IPPICV: Download: ippicv_2019_win_ia32_20180723_general.zip -- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- found Intel IPP Integration Wrappers sources: 2019.0.0 -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- LAPACK requires BLAS -- A library with LAPACK API not found. Please specify library location. Picked up _JAVA_OPTIONS: -Xmx512M -- Found apache ant: C:/apache-ant-1.10.5/bin/ant.bat (1.10.5) -- Found JNI: C:/Program Files/Java/jdk1.8.0_191/lib/jawt.lib -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- ADE: Download: v0.1.1d.zip -- OpenCV Python: during development append to PYTHONPATH: C:/lib/opencv_build/python_loader -- FFMPEG: Download: opencv_ffmpeg.dll -- FFMPEG: Download: opencv_ffmpeg_64.dll -- FFMPEG: Download: ffmpeg_version.cmake -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Caffe: NO -- Protobuf: NO -- Glog: NO -- freetype2: NO -- harfbuzz: NO -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found:Eigen Glog/Gflags -- Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx2.cpp -- Excluding from source files list: <BUILD>/modules/core/test/test_intrin256.avx2.cpp -- Excluding from source files list: <BUILD>/opencv/modules/imgproc/src/filter.avx2.cpp -- Excluding from source files list: <BUILD>/opencv/modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: <BUILD>/opencv/modules/imgproc/src/resize.avx2.cpp -- Excluding from source files list: <BUILD>/opencv/modules/imgproc/src/sumpixels.avx512_skx.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: <BUILD>/opencv/modules/features2d/src/fast.avx2.cpp -- Tesseract: NO -- Excluding from source files list: <BUILD>/opencv/modules/calib3d/src/undistort.avx2.cpp -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i -- xfeatures2d/vgg: Download: vgg_generated_48.i -- xfeatures2d/vgg: Download: vgg_generated_64.i -- xfeatures2d/vgg: Download: vgg_generated_80.i -- xfeatures2d/vgg: Download: vgg_generated_120.i -- data: Download: face_landmark_model.dat CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message): CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory Call Stack (most recent call first): CMakeLists.txt:1056 (include) -- -- General configuration for OpenCV 4.0.1-dev ===================================== -- Version control: unknown -- -- Extra modules: -- Location (extra): C:/lib/opencv_build/opencv_contrib/modules -- Version control (extra): unknown -- -- Platform: -- Timestamp: 2019-02-15T04:03:43Z -- Host: Windows 10.0.16299 AMD64 -- CMake: 3.14.0-rc1 -- CMake generator: Visual Studio 15 2017 -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe -- MSVC: 1916 -- -- CPU/HW features: -- Baseline: SSE SSE2 -- requested: SSE2 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX -- requested: SSE4_1 SSE4_2 AVX FP16 -- SSE4_1 (8 files): + SSE3 SSSE3 SSE4_1 -- SSE4_2 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe (ver 19.16.27027.1) -- 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 /fp:fast /arch:SSE /arch:SSE2 /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 /fp:fast /arch:SSE /arch:SSE2 /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.16.27023/bin/Hostx86/x86/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/fp:fast /arch:SSE /arch:SSE2 /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/fp:fast /arch:SSE /arch:SSE2 /MP4 /MDd /Zi /Ob0 /Od /RTC1 -- Linker flags (Release): /machine:X86 /INCREMENTAL:NO -- Linker flags (Debug): /machine:X86 /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc java java_bindings_generator line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 python_bindings_generatorreg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto -- Disabled: world -- Disabled by dependency: - -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf js matlab ovis sfm viz -- Applications: tests perf_tests apps -- Documentation: NO -- 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.35) -- 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 -- PFM: YES -- -- Video I/O: -- DC1394: NO -- FFMPEG: YES (prebuilt binaries) -- avcodec: YES (58.35.100) -- avformat: YES (58.20.100) -- avutil: YES (56.22.100) -- swscale: YES (5.3.100) -- avresample: YES (4.0.0) -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES -- DXVA: YES -- -- Parallel framework: Concurrency -- -- Trace: YES (with Intel ITT) -- -- Other third-party libraries: -- Intel IPP: 2019.0.0 Gold [2019.0.0] -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/icv -- Intel IPP IW: sources (2019.0.0) -- at: C:/lib/opencv_build/3rdparty/ippicv/ippicv_win/iw -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- OpenCL: YES (no extra features) -- Include path: C:/lib/opencv_build/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 2: -- Interpreter: C:/Python27/python.exe (ver 2.7.8) -- Libraries: C:/Python27/libs/python27.lib (ver 2.7.8) -- numpy: C:/Python27/lib/site-packages/numpy/core/include (ver 1.16.1) -- install path: C:/Python27/Lib/site-packages/cv2/python-2.7 -- -- Python 3: -- Interpreter: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/python.exe (ver 3.7.1) -- Libraries: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/libs/python37.lib (ver 3.7.1) -- numpy: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/lib/site-packages/numpy/core/include (ver 1.15.4) -- install path: C:/Users/user1/AppData/Local/Programs/Python/Python37-32/Lib/site-packages/cv2/python-3.7 -- -- Python (for build): C:/Python27/python.exe -- -- Java: -- ant: C:/apache-ant-1.10.5/bin/ant.bat (ver 1.10.5) -- JNI: C:/Program Files/Java/jdk1.8.0_191/include C:/Program Files/Java/jdk1.8.0_191/include/win32 C:/Program Files/Java/jdk1.8.0_191/include -- Java wrappers: YES -- Java tests: YES -- -- Install to: C:/lib/opencv_build/install -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: C:/lib/opencv_build user1@Windows MINGW64 /c/lib/opencv_build$ ls
3rdparty/                  CMakeFiles/              data/                    OpenCV.sln                         opencv_tests.vcxproj.filters  RUN_TESTS.vcxproj          version_string.tmp
ALL_BUILD.vcxproj          CMakeVars.txt            doc/                     opencv_contrib/                    opencv_tests_config.hpp       RUN_TESTS.vcxproj.filters  win-install/