Configuration Error CMake 3.15.14 opencv contrib

asked 2019-10-16 06:40:35 -0600

Rob90 gravatar image

updated 2019-10-16 06:44:08 -0600

LBerger gravatar image

Selecting Windows SDK version 10.0.16299.0 to target Windows 6.1.7601.

Detected processor: AMD64
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
Found PythonInterp: C:/Users/rplettner/AppData/Local/Programs/Python/Python38-32/python.exe (found suitable version "3.8", minimum required is "3.2") 
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.8.0")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'

libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.1.2-dev-libjpeg-turbo
OpenCV Python: during development append to PYTHONPATH: D:/Bachelor/opencv4/python_loader
Caffe:   NO
Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) (found version "3.5.1")
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
Module opencv_calib3d disabled because opencv_flann dependency can't be resolved!
Module opencv_objdetect disabled because opencv_calib3d dependency can't be resolved!
Module opencv_stitching disabled because opencv_calib3d dependency can't be resolved!
Module opencv_aruco disabled because opencv_calib3d dependency can't be resolved!
Module opencv_ccalib disabled because opencv_calib3d dependency can't be resolved!
Module opencv_datasets disabled because opencv_flann dependency can't be resolved!
Module opencv_optflow disabled because opencv_calib3d dependency can't be resolved!
Module opencv_rgbd disabled because opencv_calib3d dependency can't be resolved!
Module opencv_shape disabled because opencv_calib3d dependency can't be resolved!
Module opencv_stereo disabled because opencv_calib3d dependency can't be resolved!
Module opencv_superres disabled because opencv_optflow dependency can't be resolved!
Module opencv_surface_matching disabled because opencv_flann dependency can't be resolved!
Module opencv_text disabled because opencv_dnn dependency can't be resolved!
Module opencv_videostab disabled because opencv_calib3d dependency can't be resolved!
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
OpenCL samples are skipped: OpenCL SDK is required

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

  Extra modules:
    Location (extra):            D:/Bachelor/opencv_contrib-master/modules
    Version control (extra):     unknown

  Platform:
    Timestamp:                   2019-10-10T13:02:56Z
    Host:                        Windows 6.1.7601 AMD64
    CMake:                       3.15.4
    CMake generator:             Visual Studio 15 2017
    CMake build tool:            C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe
    MSVC:                        1911

  CPU/HW features:
    Baseline:                    SSE SSE2 SSE3
      requested:                 SSE3
    Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
      requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
      SSE4_1 (15 files):         + SSSE3 SSE4_1
      SSE4_2 (2 files):          + SSSE3 SSE4_1 POPCNT SSE4_2 ...
(more)
edit retag flag offensive close merge delete

Comments

1

There is no error. I think you can build opencv. You have xphoto but not calib3d. You must follow this to build opencv with opencv_contrib

You must use same opencv and opencv_contrib version

delete cmakecache.txt

LBerger gravatar imageLBerger ( 2019-10-16 06:50:36 -0600 )edit
1

Module opencv_calib3d disabled because opencv_flann dependency can't be resolved!

did you somehow "unclick" the flann module ?

(and imho, your opencv versions are reasonably same, that should not be the problem)

berak gravatar imageberak ( 2019-10-16 06:57:39 -0600 )edit

"did you somehow "unclick" the flann module ?"

Looks like you are right, it was disabled, I tried to deactivate all python related stuff. Maybe I deselected it.

Rob90 gravatar imageRob90 ( 2019-10-16 07:14:28 -0600 )edit