Ask Your Question
0

vrep_ros_interface build failed

asked 2017-08-04 15:51:57 -0500

garygao92 gravatar image
  1. I'm running Ubuntu 16.4.3 on VMware 8 pro for MacOS Sierra.

  2. I also install ROS Kinetic following the ROS tutorial at: http://wiki.ros.org/kinetic/Installat... following from step 1.1 to step 1.6.

  3. Then I downloaded Vrep 3.4.0 from http://www.coppeliarobotics.com/downl... for pro edu linux version and extract it into my home directory.

  4. Then I follow a tutorial to install vrep_ros_interface http://analuciacruz.me/articles/RosIn... However, I failed at step 4 after I git clone the vrep_ros_interface into my project_ws/src folder and trying to build it.

  5. The error log I got is:

[  0%] Built target actionlib_msgs_generate_messages_lisp
[  5%] Generating generated/srvcall.cpp
[ 10%] Generating generated/ros_srv_io.h
[ 15%] Generating generated/pub.cpp
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
[ 20%] Generating generated/sub.cpp
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
[ 25%] Generating generated/srvsrv.cpp
[ 30%] Generating generated/ros_msg_io.h
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
[ 35%] Generating generated/adv.cpp
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
[ 40%] Generating generated/ros_srv_io.cpp
[ 45%] Generating generated/srvcli.cpp
[ 50%] Generating generated/ros_msg_io.cpp
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
WARNING: bad msg: driver_base/ConfigString
WARNING: bad msg: driver_base/ConfigValue
WARNING: bad msg: driver_base/SensorLevels
[ 50%] Built target generate_ros_code
[35mScanning dependencies of target tf2_msgs_generate_messages_nodejs
[ 50%] Built target tf2_msgs_generate_messages_nodejs
Scanning dependencies of target tf2_msgs_generate_messages_lisp
[ 50%] Built target tf2_msgs_generate_messages_lisp
Scanning dependencies of target tf2_msgs_generate_messages_eus
[ 50%] Built target tf2_msgs_generate_messages_eus
Scanning dependencies of target sensor_msgs_generate_messages_cpp
[ 50%] Built target sensor_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_eus
[ 50%] Built target std_msgs_generate_messages_eus
Scanning dependencies of target roscpp_generate_messages_lisp
[ 50%] Built target roscpp_generate_messages_lisp
Scanning dependencies of target std_msgs_generate_messages_py
[ 50%] Built target std_msgs_generate_messages_py
Scanning dependencies of target rosgraph_msgs_generate_messages_lisp
[ 50%] Built target rosgraph_msgs_generate_messages_lisp
Scanning dependencies of target roscpp_generate_messages_nodejs
[ 50%] Built target roscpp_generate_messages_nodejs
Scanning dependencies of target tf_generate_messages_eus
[ 50%] Built target tf_generate_messages_eus
Scanning dependencies of target rosgraph_msgs_generate_messages_nodejs
[ 50%] Built target rosgraph_msgs_generate_messages_nodejs
Scanning dependencies of target rosgraph_msgs_generate_messages_cpp
[ 50%] Built target rosgraph_msgs_generate_messages_cpp
Scanning dependencies of target tf2_msgs_generate_messages_cpp
[ 50%] Built target tf2_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_lisp
[ 50%] Built target std_msgs_generate_messages_lisp
Scanning dependencies of target geometry_msgs_generate_messages_lisp
[ 50%] Built target geometry_msgs_generate_messages_lisp
Scanning dependencies of target roscpp_generate_messages_eus
[ 50%] Built target roscpp_generate_messages_eus
Scanning dependencies of target roscpp_generate_messages_cpp
[ 50%] Built target roscpp_generate_messages_cpp
Scanning dependencies of target geometry_msgs_generate_messages_eus
[ 50%] Built target geometry_msgs_generate_messages_eus
Scanning dependencies of target actionlib_msgs_generate_messages_py
[ 50%] Built target actionlib_msgs_generate_messages_py
Scanning dependencies ...
(more)
edit retag flag offensive close merge delete

Comments

I've been stuck in this step for couple days. Hope anyone can help! Thanks!

garygao92 gravatar image garygao92  ( 2017-08-04 15:53:49 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-05 04:19:16 -0500

gvdhoorn gravatar image

updated 2017-08-07 02:01:26 -0500

This:

compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

This is most of the time an indication that your system has run out of (virtual) memory. See the myriad of questions about this error on embedded (ARM) platforms fi.

Seeing as you are running in a VM, I would take a look at the amount of memory that you have assigned to it.

edit flag offensive delete link more

Comments

Thank you very much! I extended VM's memory from 1GB to 4GB and I am able to build the package.

garygao92 gravatar image garygao92  ( 2017-08-06 21:45:49 -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: 2017-08-04 15:51:57 -0500

Seen: 222 times

Last updated: Aug 07 '17