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

Rospack failed to build

asked 2011-07-15 05:08:39 -0500

hcostelha gravatar image

updated 2011-07-15 05:10:54 -0500

kwc gravatar image

Hi,

I am trying to make a system-wide installation in OpenSUSE to be used by different users. As such I have installed ROS in /opt/ros. I managed to install ROS with no problems and even compiled some additional packages in the system-wide installation.

I was now trying to compile some user packages in the user home folder. I did the following:

  1. Created a folder "mystacks" in the user folder;
  2. Used roscreate-pkg to create the package in a folder inside the "mystacks" folder;
  3. Added "mystacks" full path to ROS_PACKAGE_PATH.

The problem now is that when I run rosmake with my package name I get "Rospack failed to build". Even running "rosmake --help" results in the same error!

Since I am building this package in the user folder, it should not be a permissions problem, and ROS does not have a problem finding the package. Any ideas?

Thanks in advanced,

Hugo Costelha

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-07-15 07:17:03 -0500

dornhege gravatar image

It can be a permissions problem. rosmake will recursively build dependencies and thus also go into the /opt/ros directory for building.

If you have packages prebuilt there manually that you know are built properly, you can touch ROS_NOBUILD to prevent compilation.

edit flag offensive delete link more

Comments

Ok. I have been taking a look at the Ubuntu packages, and see that there is a ROS_NOBUILD in every package folder in order to prevent just that. I see also that I can simply run make, which will not make any dependecies (don't know if there are other implications in running make instead of rosmake)
hcostelha gravatar image hcostelha  ( 2011-07-15 09:55:55 -0500 )edit

Question Tools

Stats

Asked: 2011-07-15 05:08:39 -0500

Seen: 807 times

Last updated: Jul 15 '11