Distribution de travail : Lubuntu 22.04
Lien :
https://cataclysmdda.org/
util01@station01:~$ sudo apt-get install libsdl2-image-dev astyle
util01@station01:~$ mkdir -p JEUX/ROGUELIKE
util01@station01:~$ cd JEUX/ROGUELIKE/
util01@station01:~/JEUX/ROGUELIKE$
util01@station01:~$ cd JEUX/ROGUELIKE/
util01@station01:~/JEUX/ROGUELIKE$
util01@station01:~/JEUX/ROGUELIKE$ wget https://github.com/CleverRaven/Cataclysm-DDA/archive/refs/tags/0.F-3.tar.gz
util01@station01:~/JEUX/ROGUELIKE$ tar xvfz 0.F-3.tar.gz
util01@station01:~/JEUX/ROGUELIKE$ cd Cataclysm-DDA-0.F-3/
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-DDA-0.F-3$
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-DDA-0.F-3$ make -j2 TILES=1 SOUND=1 RELEASE=1 USE_HOME_DIR=1 CXX=g++-11
Erreur :
../tests/catch/catch.hpp:10829:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
Solution :
Ouvrir :
tests/catch/catch.hpp
Chercher :
static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
Remplacer par :
static constexpr std::size_t sigStackSize = 32768;
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-DDA-0.F-3$ ./cataclysm-tiles
Lien :
https://github.com/cataclysmbnteam/Cataclysm-BN
util01@station01:~/JEUX/ROGUELIKE$ wget https://github.com/cataclysmbnteam/Cataclysm-BN/archive/refs/tags/cbn-experimental-2022-10-10-2310.tar.gz
util01@station01:~/JEUX/ROGUELIKE$ tar xvfz cbn-experimental-2022-10-10-2310.tar.gz
util01@station01:~/JEUX/ROGUELIKE$ cd Cataclysm-BN-cbn-experimental-2022-10-10-2310/
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-BN-cbn-experimental-2022-10-10-2310$
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-BN-cbn-experimental-2022-10-10-2310$ make -j2 TILES=1 SOUND=1 RELEASE=1 USE_HOME_DIR=1 CXX=g++-11
util01@station01:~/JEUX/ROGUELIKE/Cataclysm-BN-cbn-experimental-2022-10-10-2310$ ./cataclysm-tiles