Trouble installing ROS Kinetic on Debian Stretch (Failed to process package 'roscpp')

asked 2018-06-16 12:07:18 -0500

John Smitch gravatar image

updated 2018-06-16 21:19:22 -0500

jayess gravatar image

Hello, I'm new to this forum, as well as I am new to ROS and Debian. I am trying to install ROS on my Raspberry Pi 3B+ which runs Debian Stretch. I'm currently following the tutorial linked below:

https://neverbenever.wordpress.com/20...

I'm having trouble at the step "Build ROS:", where I have to run:

pi@raspberrypi:~/ros_catkin_ws $ ./src/catkin/bin/catkin_make_isolated -j2 --install --install-space /opt/ros/kinetic -DCMAKE_BUILD_TYPE=Release

This works for other packages up and until that of "roscpp", which gives me a result like this:

<== Finished processing package [44 of 52]: 'xmlrpcpp'

==> Processing catkin package: 'roscpp'
==> Building with env: '/opt/ros/kinetic/env.sh'
Makefile exists, skipping explicit cmake invocation...

==> make cmake_check_build_system in '/home/pi/ros_catkin_ws/build_isolated/roscpp'
make: *** No rule to make target 'cmake_check_build_system'.  Stop.
<== Failed to process package 'roscpp': 
  Command '['/opt/ros/kinetic/env.sh', 'make', 'cmake_check_build_system']' returned non-zero exit status 2
Reproduce this error by running: ==> cd /home/pi/ros_catkin_ws/build_isolated/roscpp && /opt/ros/kinetic/env.sh make cmake_check_build_system

Command failed, exiting.

When I use (env | grep ROS), output is:

PWD=/home/pi/ros_catkin_ws
OLDPWD=/home/pi/ros_catkin_ws/build_isolated

My swapsize is = 1024 as well according to the tutorial

I've been cracking my head at this for a long time. I'm also new to UNIX and just want to get ROS up and running between my Raspberry Pi 3+ and Arduino for my robot. Any help/advice would be greatly appreciated. Thank you.

edit retag flag offensive close merge delete