1. 将CMakeLists.txt 文件中 find_package(OpenCV REQURED)补充完整为带版本号的:find_package(OpenCV 2.4.9 REQURED)
2. 将程序编译,若还不通过,参考这篇博文:https://blog.csdn.net/lql0716/article/details/54434695
原文地址:https://www.cnblogs.com/Yanfang20180701/p/10673356.html
时间: 2024-10-12 19:07:11