Skip to content

Commit 07597f5

Browse files
add missing header
When compiling with gcc15, compiliation fails with the following error: | In file included from ../sources/libcamera-apps-1.9.0/post_processing_stages/segmentation_tf_stage.cpp:8: | ../sources/libcamera-apps-1.9.0/post_processing_stages/segmentation.hpp:15:82: error: 'uint8_t' was not declared in this scope | 15 | Segmentation(int w, int h, std::vector<std::string> l, const std::vector<uint8_t> &s) To avoid it, add the cstdint header to the offending file. Signed-off-by: Gyorgy Sarvari <[email protected]>
1 parent 12ef999 commit 07597f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

post_processing_stages/segmentation.hpp

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

88
#pragma once
99

10+
#include <cstdint>
1011
#include <string>
1112
#include <vector>
1213

0 commit comments

Comments
 (0)