SSVOpenHexagon icon indicating copy to clipboard operation
SSVOpenHexagon copied to clipboard

Build fails on Msys2

Open Ena-Shepherd opened this issue 1 year ago • 0 comments

Hello, the build is failing when run from Msys shell. Cloned back today, updating submodules

Current setup :

  • Msys2 MinGW64
  • gcc/g++ 13.2.0
  • My SSVOpenHexagon fork (synced from develop to latest passing CI commit)
  • cd build
  • cmake .. -GNinja -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++"
  • ninja

Error log :

The following error is repeated at multiple places

error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'?
  270 |     std::basic_string<std::uint8_t> toUtf8() const;
      |                            ^~~~~~~
      |                            wint_t

Inside _deps/sfml-src/include/SFML/System/String.hpp
Does it have to do with the failing CI on SFML fork ? Adding #include <cstdint> inside SFML doesn't solve the problem.

Have a good day.

Ena-Shepherd avatar Nov 09 '23 13:11 Ena-Shepherd