Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.12k stars 420 forks source link

Not building under arch #485

Closed benallard closed 9 months ago

benallard commented 1 year ago

I believe we got a newer version of glibc last week (2.37-3), and it seems since that version, the package is not building anymore.

It is complaining immediatly about missing import for uint32_t:

[  0%] Building CXX object src/CMakeFiles/ale.dir/common/ColourPalette.cpp.o
In file included from /home/ben/aur/python-ale-py/src/Arcade-Learning-Environment-0.8.1/src/common/ColourPalette.cpp:16:
/home/ben/aur/python-ale-py/src/Arcade-Learning-Environment-0.8.1/src/common/ColourPalette.hpp:34:3: error: ‘uint32_t’ does not name a type
   34 |   uint32_t getRGB(int val) const;
      |   ^~~~~~~~
/home/ben/aur/python-ale-py/src/Arcade-Learning-Environment-0.8.1/src/common/ColourPalette.hpp:21:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   20 | #include <string>
  +++ |+#include <cstdint>
   21 |

Did I just messed-up a flag, or that's to be expected?