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

colcon can not find my package

asked 2020-10-27 22:07:30 -0500

stewart menday gravatar image

I have been writing some ROS2 code in c++ using colcon on Ubuntu 20.04, all has been working fine, up until now. colcon all of a sudden started complaining that it couldn't find my packages. When I run colcon build --packages-select test I get the following error

WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'test' in --packages-select

My test package is still in the ~ros/dev_ws/src directory. If I create a new package (test2 say), I can build it without error.

Any help would be greatly appreciated

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-27 22:50:01 -0500

stewart menday gravatar image

This error was caused by a cut and paste error in the package.xml file. I had copied some older source code and didn't update the package.xml project property

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-10-27 22:07:30 -0500

Seen: 5,867 times

Last updated: Oct 27 '20