我是靠谱客的博主 多情香烟,最近开发中收集的这篇文章主要介绍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/下

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 ‘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所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部