Skip to content

Commit eba1b03

Browse files
authored
fix(autoware_tensorrt_yolox): add missing cstdint include and ament_index_cpp test dependency (#12400)
label.hpp uses uint32_t without including <cstdint>, causing build failure on Ubuntu 24.04 / ROS 2 Jazzy. test_label.cpp uses ament_index_cpp but it was not declared as a test dependency. Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 7bc268a commit eba1b03

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

perception/autoware_tensorrt_yolox/include/autoware/tensorrt_yolox/label.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef AUTOWARE__TENSORRT_YOLOX__LABEL_HPP_
1616
#define AUTOWARE__TENSORRT_YOLOX__LABEL_HPP_
1717

18+
#include <cstdint>
1819
#include <optional>
1920
#include <string>
2021
#include <unordered_map>

perception/autoware_tensorrt_yolox/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
<exec_depend>autoware_image_transport_decompressor</exec_depend>
3838

39+
<test_depend>ament_index_cpp</test_depend>
3940
<test_depend>ament_lint_auto</test_depend>
4041
<test_depend>autoware_lint_common</test_depend>
4142

0 commit comments

Comments
 (0)