【发布时间】: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 重新安装了它
在我还能做什么方面需要一些帮助吗?
【问题讨论】:
我正在尝试使用 cmake 从 dlib 库中编译一个 cpp 文件。
当我使用命令cmake ..时
它给了我这个错误OpenCV not found, so we won't build the webcam_face_pose_ex example.
我已经安装了 OpenCV,并确保我刚刚使用 brew install opencv 重新安装了它
在我还能做什么方面需要一些帮助吗?
【问题讨论】:
下载 opencv sources 和 follow the instructions 以使用 make 构建和安装项目。这将允许 make 将 opencv 安装到以后可以找到的位置。
完成后,使用 cmake 重新编译 dlib 项目。
【讨论】: