'catkin:未找到命令' 解决方案

系统 版本
Ubuntu 18.04.1
ROS Melodic Morenia

编译时提示“catkin: command not found”。

解决方案:

安装 catkin

git clone https://github.com/ros/catkin.git
cd catkin
git branch melodic-devel
mkdir build
cd build
cmake …
make -j8
sudo make install
cd …
python2 setup.py install

安装依赖

sudo apt install autotools-dev ccache doxygen dh-autoreconf git liblapack-dev libblas-dev libgtest-dev libreadline-dev libssh2-1-dev pylint clang-format-3.8 python-autopep8 python-catkin-tools python-pip python-git python-setuptools python-termcolor python-wstool --yes

猜你喜欢

转载自blog.csdn.net/otter1010/article/details/90742300
今日推荐