Package Build Error ROS-Melodic

Posted by abbasdiab on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Package-Build-Error-ROS-Melodic-tp9550.html

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!!!