Ask Your Question

Best way to download and build a package dependency?

asked 2011-02-24 02:32:07 -0500

Murph gravatar image

updated 2011-02-24 02:36:18 -0500

Lets say I want my new project to depend on 'freenect'. What would the best way to download and install that package be? Is there an automated tool that works?

I tried this:

$ rosdep install freenect

Warning: could not identify ['freenect'] as a package

rosdep: error: No Valid Packages listed

And this:

$ rosmake freenect --rosdep-install

[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['freenect']

And lastly this:

/src/robos/ros-workspace$ rosinstall .

ERROR: No 'ros' stack detected. The 'ros' stack is required in all rosinstall directories. Please add a definition of the 'ros' stack either manually in .rosinstall and then call 'rosinstall .' in the directory. Or add one on the command line 'rosinstall . . Or reference an existing install like in /opt/ros/boxturtle with 'rosinstall . /opt/ros/boxturtle'. Note: the above suggestions assume you are using boxturtle, if you are using latest or another distro please change the urls.

edit retag flag offensive close merge delete


Obviously, I could follow the hint in the rosinstall output, but I'm not sure if i'm barking up the wrong tree with it - I didn't see any mention of rosinstall in the tutorial and I just stumbled on it's existence.
Murph gravatar image Murph  ( 2011-02-24 02:33:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-02-24 04:24:50 -0500

tfoote gravatar image

updated 2011-02-24 04:27:00 -0500

There are instructions for installing the Kinect on the wiki at

In general you will need to either have a fully encompassing rosinstall file which includes all dependencies or you need to overlay it on top of an existing ros installation. If you install the dependencies from debian packages for cturtle you would call:

rosinstall . /opt/ros/cturtle kinect.rosinstall
edit flag offensive delete link more


Alright :) seems that rosinstall is the way to go. I think I was just confused a bit by having three 'install' options.
Murph gravatar image Murph  ( 2011-02-24 04:41:57 -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


Asked: 2011-02-24 02:32:07 -0500

Seen: 1,208 times

Last updated: Feb 24 '11