ros-industrial / ros_industrial_issues

Repository for tracking common ROS-Industrial issuses.
3 stars 4 forks source link

Some problems about ros industrial_calibration #36

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi, I am following you steps on http://wiki.ros.org/industrial_extrinsic_cal to install industrial_extrinsic_cal on my ubuntu 14.04, but after I cloned industrial_calibration from https://github.com/ros-industrial/industrial_calibration and then run catkin_make in my baxter_ws, it reported some errors:

[ 60%] Building CXX object industrial_calibration/industrial_extrinsic_cal/CMakeFiles/industrial_extrinsic_cal.dir/src/camera_yaml_parser.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [industrial_calibration/industrial_extrinsic_cal/CMakeFiles/industrial_extrinsic_cal.dir/src/camera_yaml_parser.cpp.o] Error 4
make[1]: *** [industrial_calibration/industrial_extrinsic_cal/CMakeFiles/industrial_extrinsic_cal.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

Could you help me with that? It has bothered me for a few days.........TAT.

gavanderhoorn commented 8 years ago

I think it would be better to report this at the ros-industrial/industrial_calibration issue tracker.

As to your question: these errors are most of the times due to your computer not having enough memory available for compilation. Are you running on an embedded platform? Or some other machine with low physical ram, and no swap enabled? If that is the case, try to compile somewhere else and / or enable swap if possible.

jrgnicho commented 8 years ago

I agree with @gavanderhoorn , this issue seems to be caused by insufficient memory. This link describes how to add swap space when more memory is needed.

ghost commented 8 years ago

Thank you for all you guys helping me, now the problems is solved. @jrgnicho @gavanderhoorn

gavanderhoorn commented 8 years ago

Can this be closed, @13354089?

sampsonh commented 8 years ago

why the industrial_extrinsic_calibration-indigo-devel pkg do not contain the cameras_to_robot and moveit_config ,when i want to do the industrial_extrinsic_tutorial,so it confuse me ,anyone who can help me ?can you give me some advice@13354089 @jrgnicho @gavanderhoorn