我的 IDE 是 Visual Studio 2013,当我配置 opencv_contribute、CMake_GUI 输出时:
found IPP (ICV version): 9.0.1 [9.0.1]
at: E:/opencv/OpenCV3/opencv/3rdparty/ippicv/unpack/ippicv_win
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
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")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.4")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2")
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
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
Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
Protobuf: NO
Glog: NO
CMake Error at E:/opencv/OpenCV3/opencv/cmake/OpenCVUtils.cmake:857 (file):
file MD5 failed to read file "E:/opencv/OpenCV3/build/3rdparty/tinydnn/":
Permission denied
Call Stack (most recent call first):
E:/opencv/OpenCV3/opencv_contrib-master/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)
Downloading ...
CMake Error at E:/opencv/OpenCV3/opencv/cmake/OpenCVUtils.cmake:895 (file):
file DOWNLOAD cannot open file for write.
Call Stack (most recent call first):
E:/opencv/OpenCV3/opencv_contrib-master/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)
CMake Error at E:/opencv/OpenCV3/opencv/cmake/OpenCVUtils.cmake:899 (message):
Failed to download . Status=
Call Stack (most recent call first):
E:/opencv/OpenCV3/opencv_contrib-master/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)
Configuring incomplete, errors occurred!
See also "E:/opencv/OpenCV3/build/CMakeFiles/CMakeOutput.log".
See also "E:/opencv/OpenCV3/build/CMakeFiles/CMakeError.log".
而我OPENCV_EXTRA_MODULES_PATH
的是E:/opencv/OpenCV3/opencv_contrib-master/opencv_contrib-master/modules
。
我应该怎么做才能正确配置编译设置?