当前位置:   article > 正文

Ubuntu18.04编译OpenCV时遇到无法下载ADE的问题_cmake warning at cmake/opencvdownload.cmake:248 (m

cmake warning at cmake/opencvdownload.cmake:248 (message): ade: download fai

安装OpenCV过程中编译时出现下载ADE失败的问题
报错如下:

-- ADE: Downloading v0.1.2a.zip from https://github.com/opencv/ade/archive/v0.1.2a.zip
-- Try 1 failed
CMake Warning at cmake/OpenCVDownload.cmake:248 (message):
  ADE: Download failed: 28;"Timeout was reached"
  • 1
  • 2
  • 3
  • 4

问题出现原因:

github访问超时
解决方法:
编译时增加Cmake选项,将下载源更改为GitCode镜像

-D OPENCV_DOWNLOAD_MIRROR_ID=gitcode
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/119846
推荐阅读
相关标签
  

闽ICP备14008679号