ubuntu系统下ros系统问题的解决方法示例
2018-01-30 10:28
239 查看
前言:
这是自己这几个月以来调ros出现的问题,有的问题是花了几天时间来解决。由此记录
注意:如果出现的错误是类似于“ Could not find a packageconfiguration file provided by "xxx_xxx_xxx"”,这说明“xxx_xxx_xxx”这个package未安装,将“xxx_xxx_xxx”复制,然后百度,找到后缀为ROS-Wiki的标题,点击进入。找到source,如下图:
点击进入,而后看到绿色按钮名叫clone to download,点击,复制链接
之后打开终端,打上git clone 你的链接,回车,OK!
(问题4和问题5正是这种错误)
注意:安装自启动的ros包upstart:
sudo apt-get install ros-kinetic-robot-upstart
1.出现的问题:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY
BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LI BRARY
BULLET_INCLUDE_DIR)
解决方法:sudo apt-get install libbullet-dev
2.出现的问题:
Could NOT find SDL (missing: SDL_LIBRARYSDL_INCLUDE_DIR)
解决办法:sudo aptitude install libsdl1.2-dev
3.出现的问题:
Could NOT find SDL_image (missing:SDL_IMAGE_LIBRARIES SDL_IMAGE_INCLUDE_DIRS)
解决办法:sudo apt-get installlibsdl-image1.2-dev
4.出现的问题:
Could notfind a package configuration file provided by "cmake_modules"
解决办法:git clone https://github.com/ros/cmake_modules.git
5.出现的问题:
Could not find a package configuration fileprovided by "move_base_msgs"
解决办法:git clone https://github.com/ros-planning/navigation_msgs.git
6.删除只读文件:chmod 777 filename
rmfilename
7.出现的问题:navigation/robot_pose_ekf/CMakeLists.txt:6(pkg_check_modules)
解决方法:sudo apt-get installros-kinetic-bfl
8.出现的问题:c++internalcompiler error:killed(program cc1plus)
解决办法:
1) sudo dd if=/dev/zero p
8f69
f=/swapfile bs=1kcount=20400
2)sudo mkswap /swapfile
3)sudo swapon /swapfile
这是自己这几个月以来调ros出现的问题,有的问题是花了几天时间来解决。由此记录
注意:如果出现的错误是类似于“ Could not find a packageconfiguration file provided by "xxx_xxx_xxx"”,这说明“xxx_xxx_xxx”这个package未安装,将“xxx_xxx_xxx”复制,然后百度,找到后缀为ROS-Wiki的标题,点击进入。找到source,如下图:
点击进入,而后看到绿色按钮名叫clone to download,点击,复制链接
之后打开终端,打上git clone 你的链接,回车,OK!
(问题4和问题5正是这种错误)
注意:安装自启动的ros包upstart:
sudo apt-get install ros-kinetic-robot-upstart
1.出现的问题:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY
BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LI BRARY
BULLET_INCLUDE_DIR)
解决方法:sudo apt-get install libbullet-dev
2.出现的问题:
Could NOT find SDL (missing: SDL_LIBRARYSDL_INCLUDE_DIR)
解决办法:sudo aptitude install libsdl1.2-dev
3.出现的问题:
Could NOT find SDL_image (missing:SDL_IMAGE_LIBRARIES SDL_IMAGE_INCLUDE_DIRS)
解决办法:sudo apt-get installlibsdl-image1.2-dev
4.出现的问题:
Could notfind a package configuration file provided by "cmake_modules"
解决办法:git clone https://github.com/ros/cmake_modules.git
5.出现的问题:
Could not find a package configuration fileprovided by "move_base_msgs"
解决办法:git clone https://github.com/ros-planning/navigation_msgs.git
6.删除只读文件:chmod 777 filename
rmfilename
7.出现的问题:navigation/robot_pose_ekf/CMakeLists.txt:6(pkg_check_modules)
解决方法:sudo apt-get installros-kinetic-bfl
8.出现的问题:c++internalcompiler error:killed(program cc1plus)
解决办法:
1) sudo dd if=/dev/zero p
8f69
f=/swapfile bs=1kcount=20400
2)sudo mkswap /swapfile
3)sudo swapon /swapfile
相关文章推荐
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- 【原创】Ubuntu 12.04开机弹出"检测到系统程序出现问题"的临时解决方法
- UltraISO制作Ubuntu系统LiveUSB无法引导系统问题解决方法
- ubuntu 16.04 ROS + kinect v2 driver安装方法;安装驱动时遇到的问题及解决方法(1)
- 【原创】Ubuntu 12.04开机弹出"检测到系统程序出现问题"的临时解决方法
- 在win7、ubuntu双系统的win7下修改分区,系统不能正常启动,grub rescue问题的解决方法
- ubuntu系统下matplotlib中文乱码问题的解决方法
- Ubuntu每次开机后提示:检测到系统程序出现问题的解决方法
- ubuntu 16.04 ROS + kinect v2 driver安装方法;安装驱动时遇到的问题及解决方法(2)
- Ubuntu每次开机后提示:检测到系统程序出现问题的解决方法
- 新版的笔记本电脑安装ubuntu系统过程中卡死问题解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- ubuntu 10.04 10.10 12.04 LiveCD 修复 grub2 双系统引导方法 及 解决error: no argument specified 的问题
- Ubuntu系统:sudo出现sudo:must be setuid root问题的解决方法
- ubuntu 14.04 ROS + kinect v2 driver安装方法;安装驱动时遇到的问题及解决方法(1)
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法
- ubuntu系统每次启动屏幕都是最大亮度问题的解决方法
- Ubuntu系统下运行Eclipse出现找不到jre的问题的解决方法