ggerganov / imtui

ImTui: Immediate Mode Text-based User Interface C++ Library
https://imtui.ggerganov.com
MIT License
2.94k stars 123 forks source link

Compiling error : ‘uint64_t’ does not name a type #49

Closed IvnSoft closed 1 year ago

IvnSoft commented 1 year ago
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

`

to examples/hnterm/hn-state.h

ggerganov commented 1 year ago

Fixed with 9f39c3e090c9b1e15557eac38a2f4389462f59df