我是靠谱客的博主 多情香烟,这篇文章主要介绍Project ‘cv_bridge‘ specifies ‘/usr/include/opencv4‘ as an include dir,which is not foundProject ‘cv_bridge’ specifies ‘/usr/include/opencv4’ as an include dir,which is not found,现在分享给大家,希望可以做个参考。

Project ‘cv_bridge’ specifies ‘/usr/include/opencv4’ as an include dir,which is not found

在这里插入图片描述
由于找不到OpenCV4而导致编译失败,解决方法:

先查看/usr/include/下有没有opencv相关文件,若没有则查看/usr/local/include/下有没有opencv4文件,如果有则复制到/usr/include/下

复制代码
1
2
sudo cp -r /usr/local/include/opencv4 /usr/include/opencv4

重新编译即可

最后

以上就是多情香烟最近收集整理的关于Project ‘cv_bridge‘ specifies ‘/usr/include/opencv4‘ as an include dir,which is not foundProject ‘cv_bridge’ specifies ‘/usr/include/opencv4’ as an include dir,which is not found的全部内容,更多相关Project内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(88)

评论列表共有 0 条评论

立即
投稿
返回
顶部