ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Groovy on Raspberry Pi - Install hangs on PCL cmake (qemu)

asked 2013-02-13 15:23:43 -0600

Dereck gravatar image

updated 2014-01-28 17:15:14 -0600

ngrennan gravatar image

http://www.ros.org/wiki/groovy/Installation/Raspbian/Source

Following the qemu chroot method, I am trying to build ROS-G 'mobile' variant and have had quite a bit of success up to now. During the build of PCL, the build hangs on cmake.

Suggestions?

Relevant Build Output: (101 packages are built ok above this point.) ==> Processing plain cmake package: 'pcl' ==> Building with env: '/opt/ros/groovy/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/opt/ros/groovy/ros_catkin_ws/build_isolated/pcl' ==> make -j1 -l1 in '/opt/ros/groovy/ros_catkin_ws/build_isolated/pcl'

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-03-05 08:33:54 -0600

Marco Poli gravatar image

I am following the same steps, but was actually successful in compiling natively, with exception of the robot_pose_ekf (I just asked a question on that).

PCL takes around 2/3 days to compile natively on the Pi, and uses around 1G of memory. The error for blowing up RAM is cryptic, GCC gives some Internal Error and asks you to fill in a bug report. Raspbian resets swap size on every boot, so you have to increse it before every compilation.

From your paste, seems like it got past the cmake phase and into the make phase (check the last ==>).

My 2 cents: just take 3 days and do it on the Pi itself. There are some tweeks, but seems like it is a good path.

Good luck!

edit flag offensive delete link more
0

answered 2013-02-13 23:50:40 -0600

Hansg91 gravatar image

It hangs? As in it is still busy? Check the processor usage, PCL is very big and it takes a long time to compile. Perhaps it is just still compiling. I don't see any error in your output.

edit flag offensive delete link more

Comments

zero cpu usage when it hangs, and it doesn't hang on the 'make' it hangs on on the 'cmake' invocation. I have also attempted to let it run for over 24 hours without success, the same thing takes only a few seconds on the rpi itself.

Dereck gravatar image Dereck  ( 2013-02-17 03:25:08 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-13 15:23:43 -0600

Seen: 705 times

Last updated: Mar 05 '13