ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Colcon Tutorial on Dashing does not build

asked 2019-06-30 17:12:53 -0600

johnconn gravatar image

Ubuntu 18.04 running Dashing on hash bafddbdb of master

The example from the Colcon Tutorial does not build.

I kept getting errors like this from colcon :

Could not find a package configuration file provided by "example_interfaces" with any of the following names:


I grepped through the commit logs of this repo and 64128033 seemed like the cause - so I cloned into my src directory such that my filesystem was like this

---- src

-------- examples

-------- example_interfaces

and Cmake stopped complaining about an unknown dependency.

After that I got a build error on master, went to the dashing branch and got farther, but I kept getting more colcon errors, and after cloning the following three repos into my src directory colcon built for me

my final directory structure looked like this: .

---- src

-------- examples

-------- example_interfaces

-------- rcl_interfaces

-------- test_interface_files

Did I miss a step in my install or is that tutorial lacking these steps?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-07-02 05:23:53 -0600

alsora gravatar image

It looks like you have not sourced the ROS2 SDK before building your new workspace:

cd <path_to_ros2_ws>
source install/

For the following errors, I think that you may have mixed different versions of SDK and examples repositories. Ensure that both of them are up to date to the distribution that you are using (Dashing).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-06-30 17:08:45 -0600

Seen: 693 times

Last updated: Jul 02 '19