Ask Your Question
1

Can pcl_conversions run in kinetic?

asked 2016-09-28 12:38:54 -0500

rospiguy gravatar image

updated 2016-09-29 05:35:15 -0500

mgruhler gravatar image

I'm installing teb-local-planner. I have Ubuntu MATE 16.04 running on Raspberry Pi 3 with the kinetic variant. teb-local-planner has nav_core as one of its dependencies. nav_core has costmap_2d as one of its dependencies and costmap_2d has pcl_conversions as one of its dependencies. However there is no kinetic-devel branch for pcl_conversions at https://github.com/ros-perception/pcl_conversions.git. Is it recommended that I clone the indigo-devel branch instead? Any other suggestions? Thanks. Here is some of the error text though I can't get it to render correctly in the preview. I have more in a text file that I tried to attach but I don't have enough points yet:

[ 17%] Building CXX object perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/src/pcl_ros/features/feature.cpp.o
<command-line>:0:15: warning: missing whitespace after the macro name
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/build.make:62: recipe for target 'perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/src/pcl_ros/features/feature.cpp.o' failed
make[2]: *** [perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/src/pcl_ros/features/feature.cpp.o] Error 4
CMakeFiles/Makefile2:5434: recipe for target 'perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/all' failed
make[1]: *** [perception_pcl/pcl_ros/CMakeFiles/pcl_ros_features.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 18%] Linking CXX executable /home/mike/tug_ws/devel/lib/fake_localization/fake_localization
[ 18%] Built target fake_localization
[ 18%] Linking CXX executable /home/mike/tug_ws/devel/lib/pcl_ros/pcd_to_pointcloud
[ 18%] Built target pcd_to_pointcloud
[ 18%] Building CXX object perception_pcl/pcl_ros/CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/moving_least_squares.cpp.o
<command-line>:0:15: warning: missing whitespace after the macro name
[ 20%] Linking CXX shared library /home/mike/tug_ws/devel/lib/libpcl_ros_surface.so
[ 20%] Built target pcl_ros_surface
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
edit retag flag offensive close merge delete

Comments

I tried installing the indigo-devel branch and all system dependencies needed for nav_core were satisfied. However the catkin_make build failed.

rospiguy gravatar image rospiguy  ( 2016-09-28 18:41:44 -0500 )edit

If you edit your question with the errors from the failing build, we may be able to help guide you in the right direction.

ahendrix gravatar image ahendrix  ( 2016-09-28 21:36:55 -0500 )edit

@ahendrix: I edited my question with some of the error text. Thanks.

rospiguy gravatar image rospiguy  ( 2016-09-28 23:06:35 -0500 )edit

hi @rospiguy! im trying to get ROS Kinetic into RPi3 and i get the "missing whitespace" warning as well, so my install fails at the pcl_ros package. Is "installing the indigo-devel branch of the package" really the only way forward? And if so, how does one go about customizing that install?

JCbullsallday gravatar image JCbullsallday  ( 2016-12-12 01:59:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-09-29 12:01:32 -0500

ahendrix gravatar image

"Internal compiler error" usually means that the compiler ran out of memory.

Each instance of the compiler that is building very template-heavy code like PCL can use 1G or more of RAM, which is quite a stress on the Pi3.

It looks like you're building with 4 processes in parallel (-j4), which is probably the default if your CPU has 4 cores. Try running catkin_make with -j1 instead, and if you still encounter issues try setting up a 1-2G swap file.

edit flag offensive delete link more

Comments

It was indeed a problem with exhausted memory, even with a 2G swap. Running catkin_make with -j1 finally worked. Regarding my initial question, it seems at this point that installing the indigo-devel branch of the pcl_conversions git works for kinetic. Thanks for the help.

rospiguy gravatar image rospiguy  ( 2016-09-30 09:09:46 -0500 )edit

hi @rospiguy! im trying to get ROS Kinetic into RPi3 and i get the "missing whitespace" warning as well, so my install fails at the pcl_ros package. Is "installing the indigo-devel branch of the package" really the only way forward? And if so, how does one go about customizing that install?

JCbullsallday gravatar image JCbullsallday  ( 2016-12-11 22:57:09 -0500 )edit

Kinetic runs fine on the RPi3 once you get it loaded. Many of the packages that are only Indigo-devel level appear to run fine in Kinetic. Getting Kinetic loaded was no problem once I ran catkin_make with the -j1 argument.

rospiguy gravatar image rospiguy  ( 2016-12-16 21:32:10 -0500 )edit

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: 2016-09-28 12:38:54 -0500

Seen: 573 times

Last updated: Sep 29 '16