I managed to get rgbdslamv2 to work on ros but wasn't satisfied with the result I was getting so I decided to use icp in the compilation process by setting the following variables :
set(USE_GICP_BIN 0)
set(USE_GICP_CODE 1)
set(USE_PCL_ICP 1)
This almost worked but I ran into a problem and had to reset the build path by doing
SET(gicp_build_path ${CMAKE_SOURCE_DIR}/felixendres-rgbdslam_v2-f7efd5b/external/gicp/ann_1.1.2)
instead of
SET(gicp_build_path ${CMAKE_SOURCE_DIR}/external/gicp/ann_1.1.2)
because for some reason this is how the folders are set up on my computer and everything seems to work fine until I run into the error:
/usr/bin/ld: cannot find -lrgbdslam
I am not sure what is going on and I'm kind of new to all this. Can someone help? Also, all the editing was done only in the cmakelists.txt file
This is the output from my terminal:
ee125@ee125-vm:~$ cd ./rgbdslam_catkin_ws/
ee125@ee125-vm:~/rgbdslam_catkin_ws$ catkin_make
Base path: /home/ee125/rgbdslam_catkin_ws
Source space: /home/ee125/rgbdslam_catkin_ws/src
Build space: /home/ee125/rgbdslam_catkin_ws/build
Devel space: /home/ee125/rgbdslam_catkin_ws/devel
Install space: /home/ee125/rgbdslam_catkin_ws/install
Running command: "make cmake_check_build_system" in "/home/ee125/rgbdslam_catkin_ws/build"
Running command: "make -j3 -l3" in "/home/ee125/rgbdslam_catkin_ws/build"
[ 8%] [ 15%] Linking CXX shared library ../devel/lib/libgicp.so
Built target rgbdslam_generate_messages_py
Built target rgbdslam_generate_messages_cpp
[ 22%] Built target rgbdslam_generate_messages_lisp
[ 22%] Built target rgbdslam_gencpp
[ 22%] Built target rgbdslam_generate_messages
/usr/bin/ld: cannot find -lrgbdslam
collect2: ld returned 1 exit status
make[2]: *** [devel/lib/libgicp.so] Error 1
make[1]: *** [felixendres-rgbdslam_v2-f7efd5b/CMakeFiles/gicp.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
Originally posted by tango_explorer on ROS Answers with karma: 16 on 2016-02-05
Post score: 0