wyq942427
wyq942427
2017-10-17 05:27

windows下cmake编译opencv3.1+opencv_contrib一直报错

  • cmake
  • windows
  • opencv

错误如下,是在配置“OPENCV_EXTRA_MODULES_PATH” 这个时候报错的
CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:857 (file):
file MD5 failed to read file
"C:/Users/wyq/Downloads/opencv/opencv_contrib-master/3rdparty/tinydnn/":
Permission denied
Call Stack (most recent call first):
C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)

Downloading ...
CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:895 (file):
file DOWNLOAD cannot open file for write.
Call Stack (most recent call first):
C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)

CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:899 (message):
Failed to download . Status=
Call Stack (most recent call first):
C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download)

Configuring incomplete, errors occurred!
See also "C:/Users/wyq/Downloads/opencv/opencv_contrib-master/CMakeFiles/CMakeOutput.log".
See also "C:/Users/wyq/Downloads/opencv/opencv_contrib-master/CMakeFiles/CMakeError.log".

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐