opencv配置成功后,进行测试时出错

CMake Warning at /home/obvious/opencv/cmake/OpenCVConfig.cmake:166 (message):
Found OpenCV Windows Pack but it has no binaries compatible with your
configuration.

You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
CMakeLists.txt:10 (find_package)

CMake Error at CMakeLists.txt:10 (find_package):
Found package configuration file:

/home/obvious/opencv/cmake/OpenCVConfig.cmake

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
图片说明

https://zhidao.baidu.com/question/984074553322854979.html

你好,请问你的问题解决了吗?我也有和你一样的问题。

您好,请问您的问题解决了吗?我和你一样的问题

我已经解决这个问题了https://blog.csdn.net/weixin_43807971/article/details/102573845