[英]OpenCV not found when I have it installed?
I am trying to compile a cpp file from the dlib library using cmake.我正在尝试使用 cmake 从 dlib 库编译一个 cpp 文件。
When I use the command cmake ..
当我使用命令cmake ..
It gives me this error OpenCV not found, so we won't build the webcam_face_pose_ex example.
它给了我这个错误OpenCV not found, so we won't build the webcam_face_pose_ex example.
I have OpenCV installed and to be sure I just reinstalled it using brew install opencv
我已经安装了 OpenCV,并确保我刚刚使用brew install opencv
重新安装了它
Would like some help on what else I could do?想要一些关于我还能做些什么的帮助?
Download the opencv sources and follow the instructions to build and install the project using make.下载opencv 源代码并按照说明使用 make 构建和安装项目。 This will allow make to install opencv to where it can find it later.这将允许 make 将 opencv 安装到以后可以找到的位置。
When complete, re-compile the dlib project using cmake.完成后,使用 cmake 重新编译 dlib 项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.