Compiling error : ‘uint64_t’ does not name a type
IvnSoft opened this issue · 1 comments
IvnSoft commented
In file included from .../imtui/examples/hnterm/hn-state.cpp:5:
.../imtui/examples/hnterm/hn-state.h:36:5: error: ‘uint64_t’ does not name a type
36 | uint64_t time = 0;
| ^~~~~~~~
.../imtui/examples/hnterm/hn-state.h:11:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
Fixed by adding
#include <cstdint>
to examples/hnterm/hn-state.h