First time here? Check out the FAQ!


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

Revision history [back]

click to hide/show revision 1
initial version

asked Oct 16 '16

Cerin gravatar image

How to define system dependencies in a custom package?

I'm trying to create a new Python ROS package, and it depends on a Python package (libzbar-cffi) and an Ubuntu system package (libzbar-dev). However, the tutorials don't fully explain how to document these so they're installed automatically. It seems to imply I'd document using the <build_depend> tags in my package.xml, but it's unclear what name I'm supposed to use in these tags. The example names shown don't correspond to any explicit package on Ubuntu.

To install my package manually, I need to run:

sudo apt-get install libzbar-dev
sudo pip install libzbar-cffi

How do I structure my package so installing it via catkin_make does this automatically?