Comments (6)
I might also be useful to suggest the reason behind the issue you ran into, something like:
Package 'foo' did not install some required files for an 'ament_cmake' package type:
- '<prefix>/share/foo/package.xml' was found
- '<prefix>/share/ament_index/resource_index/packages/foo' is missing
[ ... ]
Did you forget to call `ament_package()` in your `CMakeLists.txt`?
from ament_tools.
I can see certain packages could be skipping the ament_package()
call if e.g. a required dependency is not available (as a graceful fallback for example). In that case the warning would be annoying since it is intended.
from ament_tools.
Well, lots of our code assumes that there is a package file in the ament resource, and potentially other things, so if we don't enforce this we'll have undo those assumptions. For example, @rohbotics' problem was that he had a workspace with only a pair of ament_cmake
build type packages, neither of which actually called ament_package()
and so the setup file crashed trying to ls
the share/ament_index/.../packages
folder.
from ament_tools.
That would probably also be a problem if the workspace was empty.
from ament_tools.
In an empty workspace ament build
does nothing, no setup.bash is created
rohan@machina:~/test_ws$ ls src
rohan@machina:~/test_ws$ ament build
# Topological order
All selected packages are being skipped. Nothing to do.
rohan@machina:~/test_ws$ ls
src
rohan@machina:~/test_ws$
from ament_tools.
Closing since the repo is archived.
from ament_tools.
Related Issues (20)
- changing ament install prefix doesn't change the cmake install prefix HOT 2
- uninstalling after installing to a different directory HOT 5
- uninstall verb fails HOT 1
- Sourcing overlay workspace's setup file isn't enough for python packages HOT 2
- ament build_pkg doesn't respect other verbs HOT 10
- assert that ament_cmake packages register in the ament_index HOT 2
- No setup.bash for --isolated compilation HOT 2
- Add error summary at the end of `ament test` HOT 4
- Proposal: make `ament test` return non-zero on test failure HOT 5
- Parallel build waiting for package forever HOT 1
- Symlinked overlay installation doesn't have preference for ament_python packages HOT 8
- option to build only a package and its dependencies HOT 6
- Build of package on windows hangs sometimes HOT 2
- Because of unquoted path ament fails on Windows HOT 3
- ament build fails to find solution file when cmake project name differs from package manifest name HOT 4
- Test Report Generation for ament test tools HOT 2
- SyntaxError when building pure Python package with Extension HOT 6
- Failed to compile extension due to out-of-source build HOT 5
- python3-pytest doesn't support option "-o" and it results in error while running python unittest of a ros2 component HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ament_tools.