You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source or binary build?
Source, with gz-rendering8 branch at c62f6e9
In file included from /home/ryan/Dev/ros2_ws/src/gz-rendering/src/MoveToHelper.cc:18:
/home/ryan/Dev/ros2_ws/src/gz-rendering/include/gz/rendering/MoveToHelper.hh:22:10: fatal error: gz/common/Animation.hh: No such file or directory
22 | #include <gz/common/Animation.hh>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/ryan/Dev/ros2_ws/src/gz-rendering/src/Scene.cc:18:
/home/ryan/Dev/ros2_ws/src/gz-rendering/include/gz/rendering/Scene.hh:24:10: fatal error: gz/common/Material.hh: No such file or directory
24 | #include <gz/common/Material.hh>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Description
Expected behavior: Successful compilation.
Actual behavior: Include errors with no warnings at configure time of missing packages
Steps to reproduce
Get Ubuntu 22 OS with ROS humble installed through binaries
Install gazebo garden and gazebo harmonic through binaries
hmm interesting, we do mark gz-common's graphics components as REQUIRED in CMakeLists.txt. I wonder if it's because cmake found the system installed gz-common5-graphics component and assumed it's available but when trying to compile the files, it uses the gz-common5 build dir in local colcon workspace that does not have the graphics component built.
hmm interesting, we do mark gz-common's graphics components as REQUIRED in CMakeLists.txt. I wonder if it's because cmake found the system installed gz-common5-graphics component and assumed it's available but when trying to compile the files, it uses the gz-common5 build dir in local colcon workspace that does not have the graphics component built.
I'll take a look at the system gz-common5-graphs and check if it's properly expressing its component dependencies:
check_required_components(<PackageName>) should be called at the end of the FooConfig.cmake file. This macro checks whether all requested, non-optional components have been found, and if this is not the case, sets the Foo_FOUND variable to FALSE, so that the package is considered to be not found. It does that by testing the Foo_<Component>_FOUND variables for all requested required components.
Environment
Source, with gz-rendering8 branch at c62f6e9
Description
Steps to reproduce
--no-install-recommends --no-install-suggests
to minimize system bloat:sudo apt-get install --no-install-recommends --no-install-suggests $(sort -u $(find . -iname 'packages-'`lsb_release -cs`'.apt' -o -iname 'packages.apt' | grep -v '/\.git/') | sed '/gz\|sdf/d' | tr '\n' ' ')
Output
Here is the full build log generated with the following command:
colcon build --packages-up-to gz-cmake3 gz-sim8 --mixin debug --event-handlers=console_cohesion+ > build_log.txt
build_log.txt
Here is the list of all installed apt pacakges and versions on my machine generated with the following command:
apt list --installed > installed_packages.txt
installed_packages.txt
Related
Similar to gazebosim/gz-common#573 (review), it could be expecting optional packages to exist and not warning or skipping.
The text was updated successfully, but these errors were encountered: