Hi,
I was trying to build the latest rgbdslam from instructions on http://www.ros.org/wiki/rgbdslam. I was able to check out the rgbdslam source code from the openslam repository but wasn't able to checkout the hogman_minimal code. I tried to get around this by manually downloading the source code and then putting it in /opt/ros/diamondback/stacks/hogman_minimal, but when I do rosmake the system can't find -lhogman_csparse and the other files that's supposed to be in /usr/bin/ld. Has anyone had any similar experiences?
I've included a log of the build.
Thanks, Ken
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild
/rostoolchain.cmake ..
[rosbuild] Building package rgbdslam
[rosbuild] Including
/opt/ros/diamondback/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including
/opt/ros/diamondback/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including
/opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/ros/diamondback/stacks/rgbdslam/build
cd build && make -l2
make[1]: Entering directory /opt/ros/diamondback/stacks/rgbdslam/build' make[2]: Entering directory
/opt/ros/diamondback/stacks/rgbdslam/build'
make[3]: Entering directory /opt/ros/diamondback/stacks/rgbdslam/build' make[3]: Leaving directory
/opt/ros/diamondback/stacks/rgbdslam/build'
[ 0%] Built target rospack_genmsg_libexe
make[3]: Entering directory /opt/ros/diamondback/stacks/rgbdslam/build' make[3]: Leaving directory
/opt/ros/diamondback/stacks/rgbdslam/build'
[ 0%] Built target rosbuild_precompile
make[3]: Entering directory /opt/ros/diamondback/stacks/rgbdslam/build' make[3]: Leaving directory
/opt/ros/diamondback/stacks/rgbdslam/build'
make[3]: Entering directory /opt/ros/diamondback/stacks/rgbdslam/build' Linking CXX executable ../bin/rgbdslam /usr/bin/ld: cannot find -lhogman_csparse /usr/bin/ld: cannot find -lhogman_graph_optimizer_hogman /usr/bin/ld: cannot find -lhogman_graph_optimizer /usr/bin/ld: cannot find -lhogman_graph /usr/bin/ld: cannot find -lhogman_stuff collect2: ld returned 1 exit status make[3]: *** [../bin/rgbdslam] Error 1 make[3]: Leaving directory
/opt/ros/diamondback/stacks/rgbdslam/build'
make[2]: *** [CMakeFiles/rgbdslam.dir/all] Error 2
make[2]: Leaving directory /opt/ros/diamondback/stacks/rgbdslam/build' make[1]: *** [all] Error 2 make[1]: Leaving directory
/opt/ros/diamondback/stacks/rgbdslam/build'
make: *** [all] Error 2
Originally posted by KenHo on ROS Answers with karma: 1 on 2011-08-21
Post score: 0