Sample Header Ad - 728x90

colcon can not find my package

0 votes
1 answer
2001 views
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
Asked by stew (1 rep)
Oct 28, 2020, 02:12 AM
Last activity: Jun 20, 2025, 05:04 AM