【发布时间】:2017-02-15 10:54:56
【问题描述】:
我正在尝试在使用JetBrains' CLion IDE 构建的项目中使用opencv.org 提供的OpenCV for Windows。我已经安装了 opencv 库并配置了 CLion (set(OpenCV_DIR) 以引用它下面的 build 目录,但是 CMake 发出警告:
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.
我已经尝试了一些来自 opencv.org 的旧发行版,结果相同。看起来 CMake 正在定位 OpenCV 库,但不想使用它们。为什么以及如何让 OpenCV 库在 CLion 下工作?
【问题讨论】:
-
这已多次被否决,没有任何解释。注意Answer My Own Question是可以的。