无法使用cmake构建Opencv项目 [英] Cannot build Opencv project with cmake
本文介绍了无法使用cmake构建Opencv项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以,我试图建立一个opencv项目使用cmake,但使用GUI实用程序和命令行工具,但保持同样的错误弹出
So , I'm trying to build an opencv project using cmake , but using both the GUI utility and the command line tool , but keep having the same error popping up
CMake Warning at cmake/modules/FindOpenCV.cmake:160 (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:48 (FIND_PACKAGE)
$ b b
如果有人在这里可以帮助我,这将是巨大的;
If anyone here please could help me here , that would be great;
推荐答案
更改OpenCV_DIR条目在OpenCV在CMake从C:\OpenCV\cmake到C:\OpenCV \build。它将解决你的问题。
Change OpenCV_DIR entry under OpenCV in CMake from C:\OpenCV\cmake to C:\OpenCV\build. It will solve your problem.
这篇关于无法使用cmake构建Opencv项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!