trouble building gazebo_pkgs for ROS integration

asked 2013-05-30 14:02:04 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

I have Gazebo 1.8.0 installed on my GNU/Linux Gentoo machine and ROS Groovy. I've been meaning to use ROS to drive my Gazebo simulation, so I am eager to get ROS Groovy integration with Gazebo working. I've been using the instructions on this page as a guide.

The command I used to build all my ROS packages is $ sudo ./src/catkin/bin/catkin_make_isolated --install-space /opt/ros/groovy --cmake-args -DSETUPTOOLS_DEB_LAYOUT=OFF and all the ROS packages compiled without errors. I then used the command $ catkin_make_isolated --install and it installed nearly all the packages to my preferred location. It fails at the package gazebo_ros and gives the following error:

-- Installing: /home/ro/ros_catkin_ws/install_isolated/include/gazebo_ros/PhysicsConfig.h
Listing /home/ro/ros_catkin_ws/devel_isolated/gazebo_ros/lib/python2.7/site-packages/gazebo_ros/cfg ...
Compiling /home/ro/ros_catkin_ws/devel_isolated/gazebo_ros/lib/python2.7/site-packages/gazebo_ros/cfg/PhysicsConfig.py ...
Compiling /home/ro/ros_catkin_ws/devel_isolated/gazebo_ros/lib/python2.7/site-packages/gazebo_ros/cfg/__init__.py ...
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/gazebo_ros/cfg
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/gazebo_ros/cfg/PhysicsConfig.py
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/gazebo_ros/cfg/PhysicsConfig.pyc
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/gazebo_ros/cfg/__init__.py
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/gazebo_ros/cfg/__init__.pyc
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/pkgconfig/gazebo_ros.pc
-- Installing: /home/ro/ros_catkin_ws/install_isolated/share/gazebo_ros/cmake/gazebo_rosConfig.cmake
-- Installing: /home/ro/ros_catkin_ws/install_isolated/share/gazebo_ros/cmake/gazebo_rosConfig-version.cmake
-- Installing: /home/ro/ros_catkin_ws/install_isolated/share/gazebo_ros/package.xml
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/libgazebo_ros_api_plugin.so
-- Removed runtime path from "/home/ro/ros_catkin_ws/install_isolated/lib/libgazebo_ros_api_plugin.so"
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/libgazebo_ros_paths_plugin.so
-- Removed runtime path from "/home/ro/ros_catkin_ws/install_isolated/lib/libgazebo_ros_paths_plugin.so"
-- Installing: /home/ro/ros_catkin_ws/install_isolated/include/gazebo_ros
-- Installing: /home/ro/ros_catkin_ws/install_isolated/include/gazebo_ros/gazebo
-- Installing: /home/ro/ros_catkin_ws/install_isolated/include/gazebo_ros/gazebo/gazebo_ros_api_plugin.h
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/gazebo_ros/gazebo
-- Installing: /home/ro/ros_catkin_ws/install_isolated/lib/gazebo_ros/debug
CMake Error at cmake_install.cmake:191 (FILE):
  file INSTALL cannot find
  "/home/ro/ros_catkin_ws/src/gazebo_pkgs/gazebo_ros/scripts/gui".


make: *** [install] Error 1
Traceback (most recent call last):
  File "/home/ro/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 658, in build_workspace_isolated
    number=index + 1, of=len(ordered_packages)
  File "/home/ro/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 443, in build_package
    install, jobs, force_cmake, quiet, last_env, cmake_args, make_args
  File "/home/ro/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 305, in build_catkin_package
    run_command(make_install_cmd, build_dir, quiet)
  File "/home/ro/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 186, in run_command
    raise subprocess.CalledProcessError(proc.returncode, ' '.join(cmd))
CalledProcessError: Command '/home/ro/ros_catkin_ws/install_isolated/env.sh make install' returned non-zero exit status 2
<== Failed to process package 'gazebo_ros': 
  Command '/home/ro/ros_catkin_ws/install_isolated/env.sh make install' returned non-zero exit status 2

Reproduce this error by running:
==> /home/ro/ros_catkin_ws/install_isolated/env.sh make install

Command failed, exiting ...
(more)
edit retag flag offensive close merge delete

Comments

Now when I look for the above mentioned file in my system, it does not exist. It is not even present in the OSRF repo. Is this some kind of bug, maybe?

logicalguy gravatar imagelogicalguy ( 2013-05-31 01:10:44 -0600 )edit

So, anybody out there who can help? Is this a bug or am I doing something wrong?

logicalguy gravatar imagelogicalguy ( 2013-06-05 21:43:13 -0600 )edit

Take a look at this repository. It has the latest gazebo ros integration work. https://github.com/osrf/gazeborospkgs

nkoenig gravatar imagenkoenig ( 2013-06-06 12:45:20 -0600 )edit