在window下编译OpenCV出现了一个很奇怪的问题:
CMake Error at modules/gapi/cmake/DownloadADE.cmake:23 (add_library):
No SOURCES given to target: ade
Call Stack (most recent call first):
modules/gapi/cmake/init.cmake:19 (include)
cmake/OpenCVModule.cmake:312 (include)
cmake/OpenCVModule.cmake:375 (_add_modules_1)
modules/CMakeLists.txt:7 (ocv_glob_modules)
百度了很久都没找到解决的办法,不过却独自摸索了一个避开这个错误的办法
Search里面搜索ade然后在Value点击取消即可
重新Generate