catkin_make:Project ‘cv_bridge‘ specifies ‘/usr/include/opencv‘ as an include dir, which is not fo
编译darknet_ros时遇到的问题
报错信息:
- Found OpenCV: /usr (found version "4.1.1")
CMake Error at /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message):Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir,which is not found. It does neither exist as an absolute directory nor in'${{prefix}}//usr/include/opencv'. Check the issue tracker'https://github.com/ros-perception/vision_opencv/issues' and considercreating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)darknet_ros/darknet_ros/CMakeLists.txt:52 (find_package)-- Configuring incomplete, errors occurred!
错误原因:
opencv版本较高,编译程序寻找/usr/include/opencv,但本机并没有
cd /usr/include
ll opencv*
只能发现opencv4这个目录,因为本机安装的较高版本的opencv
解决办法:
cd /usr/include
#你的本机目录对应你的opencv版本,设置链接后解决,不必再改CMakeList
ln -s opencv4 opencv
catkin_make:Project ‘cv_bridge‘ specifies ‘/usr/include/opencv‘ as an include dir, which is not fo相关推荐
- Project ‘cv_bridge‘ specifies ‘/usr/include/opencv‘ as an include dir, which is not found.的解决方法
在学习jetson nano 2G时,在编译ROS的package时可能会出现cmake的错误: Project 'cv_bridge' specifies '/usr/include/opencv' ...
- Project ‘cv_bridge‘ specifies ‘usr/include/opencv‘ as an include dir, which is not found.
1.具体报错 CMake Error at /opt/ros/melodic/share/cv_bridge/cv_bridgeConfig.cmake:113 (message): Project ...
- Project ‘cv_bridge‘ specifies ‘/usr/include/opencv‘ as an include dir, which is not found的解决方法
在Jetson Nano上需要用到cv_bridge来做ROS中的视频传输,在另一个机子上可以编译的程序在这里却提示Project 'cv_bridge' specifies '/usr/includ ...
- Jetson Nano安装ROS后cmake出现Project ‘cv_bridge‘ specifies ‘/usr/include/opencv‘ as an include dir
Jetson Nano安装ROS后cmake出现Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir, which ...
- Project ‘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 由于找不到OpenC ...
- Xavier(3):Project ‘*‘ specifies ‘/usr/include/opencv‘ as an include dir, which is not found.
目录 opencv文件目录找不到 grid_map_cv cv_bridge voronoi(维诺图) 解决方案1----修改报错的文件 解决方案2----制作软连接--推荐 制作软连接参考1 制作软 ...
- IntelliJ IDEA 的 Project Structure 窗口中的 Artifacts 勾选 Include in project build
文章目录 在 war 工件勾选 Include in project build Build Project/Module Rebuild Project/Module 在 war exploded ...
- #include<>和#include“”的区别
一.查找的目录不同 1.#include<>:编译器直接从系统类库目录里查找头文件: #include<stdio.h> 比如在VS2013中,编译器会直接在<Visua ...
- %@ INCLUDE FILE=%与JSP:INCLUDE PAGE=/区别
2019独角兽企业重金招聘Python工程师标准>>> 两者最重要的区别:JSP指令<%@ include file=""%>,是将被引入的JSP与原 ...
最新文章
- 【IOS 开发】Objective - C 入门 之 数据类型详解
- linux服务器curl,在Linux系统下使用curl自定义HTTP头的方法
- 如何用ABAP代码的方式弹出SPRO里的customizing activity
- javaScript获取url中的参数
- 图谱论(Spectral Graph Theory)基础
- 计算机管理用户u,discuz+uclient 手动提升普通用户至管理员权限网站安全 -电脑资料...
- PPT一般使用技巧总结
- 基于java web的房屋出租管理系统-学生毕业设计
- 开源开放 | OpenKG组织发布第二批并更新近十个新冠知识图谱开放数据集
- 基于MT5的沪深股票回测一 创建自定义合约
- sony电视遥控器android,划重点!如何用手机当“点播遥控器”?
- 2012年8月 至 2014年2月1日读书列表
- 分享5个制定市场营销神器
- SMTP 554错误,记住是免费引起的
- 【神经网络学习】鸢尾花分类的实现
- 计算机的音量打不开,电脑静音,音量打不开.怎么办?
- 在Java中 什么叫包-包有什么用途-如何创建包-
- Virtex—5 GTP和Virtex—6 GTX间匹配通信研究及应用
- 制作稳定版本的rootfs
- QT无法configure project,卡在项目界面
热门文章
- [debug] you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake ……
- ubuntu系统下hbase数据库的安装和使用,hbase配置文件详解
- python机器学习库keras——CNN卷积神经网络人脸识别
- python基础系列教程——python面向对象编程全解
- 编程游戏:划拳机器人比赛-{ 咱们园子是否应该设立一个算法挑战/编程竞赛的平台? }...
- Luogu4921/4931 情侣?给我烧了! 组合、递推
- pyspark对应的scala代码PythonRDD对象
- Ubuntu16.04.1 安装Redis-Cluster
- [转]memcached+magent实现memcached集群
- 《货币战争》的一点感想