【问题标题】:OpenCV not found when I have it installed?安装 OpenCV 时找不到?
【发布时间】:2020-07-04 12:01:04
【问题描述】:

我正在尝试使用 cmake 从 dlib 库中编译一个 cpp 文件。

当我使用命令cmake ..

它给了我这个错误OpenCV not found, so we won't build the webcam_face_pose_ex example.

我已经安装了 OpenCV,并确保我刚刚使用 brew install opencv 重新安装了它

在我还能做什么方面需要一些帮助吗?

【问题讨论】:

    标签: c++ opencv dlib


    【解决方案1】:

    下载 opencv sourcesfollow the instructions 以使用 make 构建和安装项目。这将允许 make 将 opencv 安装到以后可以找到的位置。

    完成后,使用 cmake 重新编译 dlib 项目。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-17
      • 2021-12-16
      相关资源
      最近更新 更多