Re: apt install and the source install

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/apt-install-and-the-source-install-tp1944p1963.html

Hi,

You can install ros-indigo-rtabmap and build rtabmap_ros from source. Make sure to use indigo-devel branch of rtabmap_ros. Just tried it and rtabmap_ros (indigo_devel branch) can be built without problems against ros-indigo-rtabmap binaries.

#make sure rtabmap_ros binaries are not installed
$ sudo apt-get remove ros-indigo-rtabmap-ros

$ sudo apt-get install ros-indigo-rtabmap
$ cd ~/catkin_ws/src
$ git clone https://github.com/introlab/rtabmap_ros.git
$ cd rtabmap_ros
$ git checkout indigo-devel
$ cd ~/catkin_ws
$ catkin_make

Make sure that there are no rtabmap libraries installed in "~/catkin_ws/devel/lib" or "/usr/local/lib", so that rtabmap_ros finds rtabmap installed in "/opt/ros/indigo/lib".

cheers