I am trying to build rtabmap_ros using catkin_make following the instructions given here but I keep running into this error. it seems to be an opencv error to me but I have reinstalled opencv multiple times (with OPENCL=OFF as well) and have removed my build folder in catkin_ws as well and still I keep running into this error.
Kindly tell me what the solution to this problem is.
Thank you for replying. My system configuration is as follows;
And I followed the instructions given here for installing RTABMap.
RTABMap itself was first working with opencv 3.1.0 following the hand-held mapping instructions but gave the rgbd-odometry error as shown.
With opencv 18.104.22.168, 2.4.9 and 2.4.13 it just gives the make -j4 error during installation.
I tried installing opencv with OpenCL turned off and then also changed the CMakeLists.txt file so it looks for OpenCV first then catkin_Libraries in include_directories and target_link_libraries functions.
I tried it again with a fresh install of ros-indigo and catkin workspace with Opencv 2.4.9 using the steps here and it built fine. But during the step to update it to new version it gave the this error during
roscd: No such package/stack 'rtabmap_ros'
When I went manually in the directory and used
git pull origin master
it said it was up to date.
catkin_make --pkg rtabmap_ros
it gave said
The specified source space "/opt/ros/src" does not exist
We tried the whole process and it worked on kinetic version of ubuntu 16.04, it gaved lots of error on ubuntu 14.04. but with this it was much easier and atlast its working fine on rviz as well. no odometry issue. can u please update the github file so that its not confusing. no core dumped issue and no Odometry issue.