'duration_cast' was not declared in this scope Cpp code example Example: ‘uint64_t’ was not declared in this scope I usually #include <stdint.h>