搜尋

首頁  >  問答  >  主體

c++ - camke编译opencv3.0和opencv_contrib老是出错是怎么回事?

报错如图

Check contents of vgg_generated_48.i ...
CMake Error at E:/opencv3.0/opencv/sourcesContrib/opencv_contrib-master/modules/xfeatures2d/cmake/download_vgg.cmake:13 (ocv_download):
Unknown CMake command "ocv_download".
Call Stack (most recent call first):
E:/opencv3.0/opencv/sourcesContrib/opencv_contrib-master/modules/xfeatures2d/cmake/download_vgg.cmake:20 (vgg_download)
E:/opencv3.0/opencv/sourcesContrib/opencv_contrib-master/modules/xfeatures2d/CMakeLists.txt:4 (include)

PHP中文网PHP中文网2767 天前588

全部回覆(1)我來回復

  • PHPz

    PHPz2017-04-17 14:54:31

    Unknown CMake command "ocv_download".

    這不是錯誤嗎,它不認識這個命令列ocv_download

    回覆
    0
  • 取消回覆