Error compiling with gcc++

Started by Garwin, 28 July 2023, 20:50:46


I have updated gcc (to new version (need std::format) from 12.1 (x86_64-win32-seh-rev3, Built by MinGW-W64 project) to 13.1 (using and later trying even 13.2 (

But in both cases I get error recompiling some my older project using SFML 2.5 and TGUI 0.10.
TGUI-0.10\include\TGUI\Utf.hpp|75|error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?|
Similar error is with uint32_t.

Any idea what does this error mean?

note: I have tried to include <stdint.h> and <inttypes.h> but it does not help.


You may want to update your TGUI version. The `<cstdint>` include was missing to compile with GCC 13 (
This was fixed in the development version 2 months ago and the fix is part of the 1.0-RC release (


Thanks. I will try. Just need to think how to setup all things in codeblock as I will have for the first time probably more compilers and more version of TGUI and SFML next to each other.
As the updated version is only for SFML 2.6.