Trouble building rplidar on Raspberry Pi

asked 2015-11-02 22:05:02 -0600

trips323 gravatar image

I followed this tutorial on installing ros on my Raspberry Pi (ROS on Raspberry Pi) Now I am trying to build rplidar package from (github:rplidar) and i am getting the following output:

catkin_make -DCATKIN_WHITELIST_PACKAGES="rplidar_ros"
Base path: /home/pi/ros_catkin_ws Source space: /home/pi/ros_catkin_ws/src Build space: /home/pi/ros_catkin_ws/build Devel space: /home/pi/ros_catkin_ws/devel Install space: /home/pi/ros_catkin_ws/install ####

Running command: "make cmake_check_build_system" in "/home/pi/ros_catkin_ws/build"

#### -- Using CATKIN_DEVEL_PREFIX: /home/pi/ros_catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/pi/ros_catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.15 -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: rplidar_ros -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - rplidar_ros -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'rplidar_ros' -- ==> add_subdirectory(rplidar_ros) -- Configuring done -- Generating done -- Build files have been written to: /home/pi/ros_catkin_ws/build ####

Running command: "make -j4 -l4" in "/home/pi/ros_catkin_ws/build"

#### -- Using CATKIN_DEVEL_PREFIX: /home/pi/ros_catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/pi/ros_catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.15 -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: rplidar_ros

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - rplidar_ros

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'rplidar_ros' -- ==> add_subdirectory(rplidar_ros) -- Configuring done -- Generating done -- Build files have been written to: /home/pi/ros_catkin_ws/build

make[2]: * No rule to make target '/usr/lib/arm-linux-gnueabihf/libconsole_bridge.sort', needed by '/home/pi/ros_catkin_ws/devel/lib/rplidar_ros/rplidarNode'. Stop.

CMakeFiles/Makefile2:907: recipe for target 'rplidar_ros/CMakeFiles/rplidarNode.dir/all' failed

make[1]: * [rplidar_ros/CMakeFiles/rplidarNode.dir/all] Error 2

make[1]: * Waiting for unfinished jobs.... Linking CXX executable /home/pi/ros_catkin_ws/devel/lib/rplidar_ros/rplidarNodeClient [ 16%] Built target rplidarNodeClient Makefile:123: recipe for target 'all' failed make: * [all] Error 2 Invoking "make -j4 -l4" failed

edit retag flag offensive close merge delete