Ask Your Question
0

Failed to process package 'roscpp':

asked 2020-05-01 08:53:32 -0500

Lacho gravatar image

updated 2020-05-01 09:51:00 -0500

gvdhoorn gravatar image

Hello, I hope all of you are doing awesome.

I recently bought a raspberry pi 4 with just 1 GB of RAM My raspberry is running Raspbian buster Lite. I followed these instructions: http://wiki.ros.org/melodic/Installat.... However when invoking catkin_make_isolated I get the following error:

e::CallbackInfo&, const ros::CallbackQueue::CallbackInfo*>’ changed in GCC 7.1
/usr/include/c++/8/bits/stl_deque.h:397:18: note: parameter passing for argument of type ‘std::_Deque_iterator<ros::CallbackQueue::CallbackInfo, const ros::CallbackQueue::CallbackInfo&, const ros::CallbackQueue::CallbackInfo*>’ changed in GCC 7.1
[ 63%] Building CXX object CMakeFiles/roscpp.dir/src/libros/service_server_link.cpp.o
[ 65%] Building CXX object CMakeFiles/roscpp.dir/src/libros/service_client.cpp.o
[ 66%] Building CXX object CMakeFiles/roscpp.dir/src/libros/intraprocess_publisher_link.cpp.o
[ 68%] Building CXX object CMakeFiles/roscpp.dir/src/libros/intraprocess_subscriber_link.cpp.o
[ 69%] Building CXX object CMakeFiles/roscpp.dir/src/libros/node_handle.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/roscpp.dir/build.make:349: CMakeFiles/roscpp.dir/src/libros/intraprocess_publisher_link.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1072: CMakeFiles/roscpp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
<== Failed to process package 'roscpp':
  Command '['/home/pi/ros_catkin_ws/install_isolated/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/roscpp && /home/pi/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

Command failed, exiting.

Any advice would be of huge help.

Thanks to you all in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-05-01 09:35:22 -0500

Lacho gravatar image

Looks like raspberry is running out of memory when building the workspace: Changed make parameter to -j2 and was able to solve it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-05-01 08:53:32 -0500

Seen: 203 times

Last updated: May 01 '20