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

Install ROS hydro from source

asked 2014-11-01 23:08:16 -0600

updated 2014-11-03 15:04:45 -0600

It seems that ros hydro has some problems installing from source to Ubuntu 12.04 as indicated in ( http://wiki.ros.org/hydro/Installatio... )

The following packages have unmet dependencies:
libpcl-1.7-all-dev : Depends: libpcl-apps-1.7-dev but it is not going to be installed
Depends: libpcl-io-1.7-dev but it is not going to be installed
Depends: libpcl-outofcore-1.7-dev but it is not going to be installed
Depends: libpcl-people-1.7-dev but it is not going to be installed
Depends: libpcl-recognition-1.7-dev but it is not going to be installed
Depends: libpcl-visualization-1.7-dev but it is not going to be installed
libpcl-1.7-bin : Depends: libpcl-io-1.7 but it is not going to be installed
Depends: libpcl-visualization-1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

After these errors, I tried to install libpcl by using $sudo apt-get install libpcl-all-dev, but there were other unmet dependencies...

When ROS hydro compile from source, it seems that Gazebo cannot be compiled.

CMake Error at /home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'gazebo' which must be find_package()-ed
before. If it is a catkin package it can be declared as CATKIN_DEPENDS
instead without find_package()-ing it.
Call Stack (most recent call first):
/home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
CMakeLists.txt:72 (catkin_package)

-- Configuring incomplete, errors occurred!
<== Failed to process package 'gazebo_plugins':
Command '/home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/meng/ros_catkin_ws/build_isolated/gazebo_plugins && /home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release

Command failed, exiting.

Could someone provide some suggestions? Thanks a lot! :)

edit retag flag offensive close merge delete

Comments

Could you add what distribution you are running (OS), and which version?

gvdhoorn gravatar image gvdhoorn  ( 2014-11-02 01:59:14 -0600 )edit

Thanks a lot! I am running on Ubuntu12.04

Lili Meng gravatar image Lili Meng  ( 2014-11-03 15:04:17 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-06-17 21:17:10 -0600

Tanmay gravatar image

updated 2015-06-19 15:02:52 -0600

Try using aptitude to install libpcl-1.7-all-dev . Aptitude is a smarter manager than apt-get, and can sort out dependency issues such as the ones you are facing. Here's the command -

sudo aptitude install libpcl-1.7-all-dev
edit flag offensive delete link more

Comments

As an afterthought, you could just install pcl by source, but it's a pain, and it takes a really long time. Just saying.

Tanmay gravatar image Tanmay  ( 2015-06-19 00:31:17 -0600 )edit
0

answered 2015-06-21 03:46:09 -0600

DevonW gravatar image

Hi Lili,

Gazebo needs to be installed first.

sudo apt-get install ros-hydro-gazebo-ros

edit flag offensive delete link more

Comments

That's odd. Gazebo is now independent of ROS. Installing a ROS binary of Gazebo before installing Hydro doesn't particularly make sense, although from the error message..

Tanmay gravatar image Tanmay  ( 2015-06-21 17:39:03 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-11-01 23:08:16 -0600

Seen: 656 times

Last updated: Jun 21 '15