Package Build Error ROS-Melodic

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Package Build Error ROS-Melodic

abbasdiab
Hello Community I tried to install RTAB map package and it showing the following error once I try to  build the package using Catkin_make:
CMake Error at rtabmap_ros/rtabmap_conversions/CMakeLists.txt:10 (find_package):
  Could not find a configuration file for package "RTABMap" that is
  compatible with requested version "0.21.0".

  The following configuration files were considered but not accepted:

    /opt/ros/melodic/lib/rtabmap-0.20/RTABMapConfig.cmake, version: 0.20.23



-- Configuring incomplete, errors occurred!
See also "/home/diab/slam_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/diab/slam_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
package build error

Any Advice pls!!!
Reply | Threaded
Open this post in threaded view
|

Re: Package Build Error ROS-Melodic

matlabbe
Administrator
You forgot to do both lines of step 0:
sudo apt install ros-$ROS_DISTRO-rtabmap ros-$ROS_DISTRO-rtabmap-ros
sudo apt remove ros-$ROS_DISTRO-rtabmap ros-$ROS_DISTRO-rtabmap-ros