mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
ros2-branch build failed when I did not run rodep install.
I had a similar error as referenced in #613. It turns out that I had missing dependencies which got fixed when I ran `rosdep install --from-paths src --ignore-src -r -y`. This was mentioned [here](https://github.com/introlab/rtabmap_ros/issues/613#issuecomment-922550063).
This commit is contained in:
@@ -45,6 +45,7 @@ ros2 launch rtabmap_ros rtabmap.launch.py \
|
||||
cd ~/ros2_ws
|
||||
git clone https://github.com/introlab/rtabmap.git src/rtabmap
|
||||
git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
||||
rosdep update && rosdep install --from-paths src --ignore-src -r -y
|
||||
export MAKEFLAGS="-j6" # Can be ignored if you have a lot of RAM (>16GB)
|
||||
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user