卸载cmake重装后发现ros功能不完整(如roslaunch、rosrun等命令无法使用)
注意:绝对不要卸载cmake重装,因为卸载cmake时会将其他插件卸载掉。。。
1、重新安装ros
安装教程:https://blog.csdn/m0_51759289/article/details/123865295
在安装ros-melodic-desktop-full报错:
下列软件包有未满足的依赖关系:
ros-melodic-desktop-full : 依赖: ros-melodic-simulators 但是它将不会被安装
依赖: ros-melodic-urdf-sim-tutorial 但是它将不会被安装
解决方法:
使用aptitude安装
1)安装aptitude工具
apt-get install aptitude
2)安装上面提到的两个依赖软件包
sudo aptitude install ros-melodic-simulators ros-melodic-urdf-sim-tutorial
3)安装ROS-melodic
sudo apt-get install ros-melodic-desktop-full
2、catkin_make功能包未找到moveit_core
Could NOT find moveit_core (missing: moveit_core_DIR)
– Could not find the required component ‘moveit_core’. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
重新安装moveit:https://blog.csdn/weixin_47266712/article/details/124765684?spm=1001.2014.3001.5501
3、catkin_make功能包没有moveit_visual_tools
Could not find a package configuration file provided by
“moveit_visual_tools” with any of the following names:
moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake
解决方法:
sudo apt-get install ros-melodic-moveit-visual-tools
总结:绝对绝对不要使用sudo apt-get remove cmake卸载cmake,哭死!!!
更多推荐
卸载cmake重装ros功能不完整
发布评论