Closed aaravrav142 closed 6 years ago
Can you do "ldd /usr/local/lib/librtabmap_core.so" to see if ldd can actually find libpointmatcher.so.1 library?
EDIT: You may have to edit LD_LIBRARY_PATH to add /usr/local/lib, then do "sudo ldconfig".
Hi, This solved the problem. I had to edit the LD_LIBRARY_PATH. But then again I am facing another error:
/usr/local/lib/libopencv_nonfree.so.2.4.11: undefined reference to `cv::ocl::integral(cv::ocl::oclMat const&, cv::ocl::oclMat&)'
collect2: error: ld returned 1 exit status
Although OpenCV was installed earlier and rtabmap build did not complain about OpenCL, i am not sure why rtabmap_ros cannot find it.
That problem should have been fixed since 2015, see http://official-rtab-map-forum.206.s1.nabble.com/catkin-make-ros-pkg-failed-td22.html
You can try a clean catkin build (delete catkin_ws/build folder and redo catkin_make)
Hi, I know this should have been solved. Do not know why it is coming up now. I build openCV 2 with openCL = off and everything works fine now. I will dig into this later. Thanks a lot Mathieu for the help.
Hi,
I am trying to build rtabmap from source. Followed all the instructions carefully. Was able to build rtabmap but when trying to catkin_make on the catkin_ws frequently getting the build error as follows:
\ My CMake config after invoking cmake .. is as following
Can you suggest something. Thanks