这里写自定义目录标题
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by “moveit_kinematics”
with any of the following names:
moveit_kinematicsConfig.cmake
moveit_kinematics-config.cmake
应该是缺少了包,于是我尝试安装包,sudo apt-get install ros-melodic-moveit-kinematics
但是还是不行
E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get install ros-melodic-moveit-kinematics
还是不行
再尝试
sudo dpkg --configure -a
sudo rm /var/lib/dpkg/lock-frontend
sudo apt-get install ros-melodic-moveit-kinematics
终于可以了哈哈哈
然后catkin_make
编译成功,起飞
感谢https://blog.csdn.net/zjrwinner/article/details/131785246