-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 24.04.1 LTS
- ROS2 Version:
- rolling ridley
- Version or commit hash:
- DDS implementation:
- Fast-RTPS
Steps to reproduce issue
Build ros2 from source: https://docs.ros.org/en/rolling/Installation/Alternatives/Ubuntu-Development-Setup.html
Then follow instruction to build nav2 https://docs.nav2.org/development_guides/build_docs/index.html
Expected behavior
Build should be passed
Actual behavior
Received failure log:
In file included from /home/server/nav2_ws/src/navigation2/nav2_util/src/robot_utils.cpp:21:
/home/server/ros2_ws/install/tf2/include/tf2/tf2/convert.h:39:7: error: #warning CONVERT_HEADER_DEPERCATION [-Werror=cpp]
39 | # warning CONVERT_HEADER_DEPERCATION
| ^~~~~~~
In file included from /home/server/nav2_ws/src/navigation2/nav2_util/include/nav2_util/robot_utils.hpp:27,
from /home/server/nav2_ws/src/navigation2/nav2_util/src/robot_utils.cpp:22:
/home/server/ros2_ws/install/tf2/include/tf2/tf2/time.h:36:7: error: #warning TIME_HEADER_DEPERCATION [-Werror=cpp]
36 | # warning TIME_HEADER_DEPERCATION
| ^~~~~~~
In file included from /home/server/nav2_ws/src/navigation2/nav2_util/include/nav2_util/robot_utils.hpp:28:
/home/server/ros2_ws/install/tf2/include/tf2/tf2/transform_datatypes.h:39:7: error: #warning TRANSFORM_DATATYPES_HEADER_DEPERCATION [-Werror=cpp]
39 | # warning TRANSFORM_DATATYPES_HEADER_DEPERCATION
| ^~~~~~~
In file included from /home/server/nav2_ws/src/navigation2/nav2_util/src/costmap.cpp:18:
/home/server/ros2_ws/install/tf2/include/tf2/tf2/LinearMath/Quaternion.h:23:7: error: #warning QUATERNION_HEADER_DEPERCATION [-Werror=cpp]
23 | # warning QUATERNION_HEADER_DEPERCATION
| ^~~~~~~
cc1plus: all warnings being treated as errors
Additional information
There is change from upstream of ros2/tf2 headers, should we use -Wno-error=cpp to ignore this error ?
Metadata
Metadata
Assignees
Labels
No labels