cannot find prefix of cmake package
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 262
- Forks
- 228
- Avg merge
- 23h 15m
- Merged PRs (30d)
- 12
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 20.04
- Installation type:
- binaries
- Version or commit hash:
- foxy
Steps to reproduce issue
- create a new workspace with package
apriltag(alternatively install binary packageros-foxy-apriltag) - build
colcon build - source
. install/setup.bash - search for package prefix path
ros2 pkg prefix apriltag
Expected behavior
The output should show the path to the installed package, e.g. $WORKSPACE/install/apriltag.
Actual behavior
Package not found
Additional information
This is a "pure" cmake package with a package.xml containing:
<export>
<build_type>cmake</build_type>
</export>
Other non-cmake packages do not have this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the apriltag package using the listed Ubuntu 20.04, Foxy, binary-installation steps, then run colcon build and ros2 pkg prefix apriltag. Start at the ros2 pkg prefix entry point and inspect how a pure CMake package with the shown package.xml export is discovered. Done means the command reports the installed package path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, python
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100