it looks need to #include<cstdint> for uint32_t in my environment: archlinux 6.5.2
$ g++ --version
g++ (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
it looks need to
#include<cstdint>
for uint32_t in my environment: archlinux 6.5.2