intel / ipu6-camera-hal

Apache License 2.0
39 stars 32 forks source link

Fix build-error due to missing cstdint.h #40

Closed jwrdegoede closed 1 year ago

jwrdegoede commented 1 year ago

Fix the following build errors:

In file included from src/platformdata/gc/IGraphConfig.h:19, from src/platformdata/gc/GraphUtils.h:18, from src/platformdata/gc/GraphUtils.cpp:18: src/platformdata/gc/HalStream.h:33:5: error: 'uint32_t' does not name a type 33 | uint32_t width; | ^~~~ src/platformdata/gc/HalStream.h:1:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | / src/platformdata/gc/HalStream.h:34:5: error: 'uint32_t' does not name a type 34 | uint32_t height; | ^~~~ src/platformdata/gc/HalStream.h:34:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? src/platformdata/gc/HalStream.h:54:5: error: 'uint32_t' does not name a type 54 | uint32_t width() const { return mWidth; } | ^~~~ src/platformdata/gc/HalStream.h:54:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? src/platformdata/gc/HalStream.h:55:5: error: 'uint32_t' does not name a type 55 | uint32_t height() const { return mHeight; } | ^~~~ src/platformdata/gc/HalStream.h:55:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? src/platformdata/gc/HalStream.h:62:5: error: 'uint32_t' does not name a type 62 | uint32_t mWidth; | ^~~~ src/platformdata/gc/HalStream.h:62:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? src/platformdata/gc/HalStream.h:63:5: error: 'uint32_t' does not name a type 63 | uint32_t mHeight; | ^~~~ src/platformdata/gc/HalStream.h:63:5: note: 'uint32_t' is defined in header ''; did you forget to '#include '? src/platformdata/gc/HalStream.h: In constructor 'icamera::HalStream::HalStream(icamera::streamProps&, void)': src/platformdata/gc/HalStream.h:43:15: error: class 'icamera::HalStream' does not have any field named 'mWidth' 43 | : mWidth(props.width), | ^~ src/platformdata/gc/HalStream.h:43:28: error: 'struct icamera::streamProps' has no member named 'width' 43 | : mWidth(props.width), | ^~~~~ src/platformdata/gc/HalStream.h:44:15: error: class 'icamera::HalStream' does not have any field named 'mHeight' 44 | mHeight(props.height), | ^~~ src/platformdata/gc/HalStream.h:44:29: error: 'struct icamera::streamProps' has no member named 'height' 44 | mHeight(props.height), | ^~

Signed-off-by: Hans de Goede hdegoede@redhat.com