Ask Your Question
0

Dependency problem

asked 2011-11-22 04:30:00 -0500

Sudarshan gravatar image Sudarshan
63 8 10 14

Hi,

This is probably a trivial question, but for the love of god I am not able to find a solution. I am running ros-electric on a Ubuntu 64-bit 11.04 machine. I have a ros_external folder in my home directory where I install external ros packages and stack that I use for my projects. I have added this path to my ROS_PACKAGE_PATH. I am trying to create a package for object detection with Kinect. I am using the roboearth stack for detecting the objects. The roboearth stack is installed in the ros_external, specifically the stack.xml file is located in ~/ros_external/stacks/roboearth. I am able to reach this using the roscd roboearth command, which I thought meant that ROS was able to find this stack. However, when I try to create a package listing roboearth as a dependency, I get an error that dependency [roboearth] cannot be found.

roboearth is a stack and not a package, I wonder if that matters. Any help is appreciated.

edit retag flag offensive close delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-11-22 04:44:11 -0500

AHornung gravatar image AHornung flag of Germany
4151 15 48 84
http://www.informatik.uni...

Yes, indeed that is the problem. If you package requires code from a certain package in roboearth then you need to depend on that specific package. So you need to fill in your dependencies as packages. The stack containing your package, on the other hand, will then depend on the roboearth stack (stack depends on stacks, package depends on packages).

edit flag offensive delete publish link more

Comments

I might end up having my package depending on all the packages provided by roboearth. So would it be easier that I build a stack with one package and the stack depends on roboearth stack? Sudarshan ( 2011-11-22 06:54:00 -0500 )edit
No. @AHornung is right: stack dependencies are for installation; package dependencies are for build resolution. You need both. joq ( 2011-11-22 06:59:39 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-11-22 04:30:00 -0500

Seen: 128 times

Last updated: Nov 22 '11