CMake错误配置opencv [英] CMake error configuring opencv
问题描述
我一直在尝试使用flandmark代码进行面部检测.为了编译这些库,我需要运行CMAKE.gui.exe.但是我一直遇到同样的错误,而且似乎没人知道如何解决它.如果有人可以帮忙,我将不胜感激.
I have been trying to work with the flandmark code for facial detection. in order to compile the libraries, I need to run CMAKE.gui.exe. However I keep getting the same error and no one seems to have an idea how to get around it. I would really appreciate if please someone could help.
Error:
Cmake Warning at /OpenCV2.3/cmake/OpenCVConfig.cmake:153(message):
Found OpenCV 2.4.3 Windows Super Pack but it has not 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:2(find_package)
CMake Error at CMakeLists.txt:2(find_package):
Found package configuration file:
/OpenCV2.3/cmake/OpenCVConfig.cmake
,但是它将OPENCV_FOUND设置为FALSE,因此将软件包"OpenCV"视为 未找到
but it set OPENCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND
推荐答案
只需删除CMake缓存.
我或多或少都遇到过相同的问题,并发布了&我自己回答了一个问题.
I've had more or less the same problem, posted & answered a question myself.
如果需要,可以在 https://stackoverflow.com/a/36622706/3292304 中进行检查,以了解整个问题.我希望这会有所帮助.
Check it at https://stackoverflow.com/a/36622706/3292304 for the whole problem if you want. I hope this will help.
这篇关于CMake错误配置opencv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!