Installation de l’éditeur de niveau ‘Doom’ : Slade 3.1.15
* Matériel :
Raspberry Pi 4 8 Go
* Distribution :
Raspberry Pi OS with desktop « January 11th 2021 » : https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-01-12/2021-01-11-raspios-buster-armhf.zip
Lien :
https://slade.mancubus.net/
1/ Installation des paquets de développement.
pi@raspberrypi:~ $ sudo apt-get install libwxgtk-media3.0-dev libwxbase3.0-dev libwxgtk3.0-dev libwxsqlite3-3.0-dev libwxgtk-webview3.0-gtk3-dev python-wxgtk3.0 python-wxversion libgtk2.0-dev libfluidsynth-dev libfreeimage-dev libbz2-dev libsfml-dev libftgl-dev libglew-dev
2/ Création du répertoire de travail.
pi@raspberrypi:~ $ mkdir -p GAME/DOOM/Editor pi@raspberrypi:~ $ cd GAME/DOOM/Editor/ pi@raspberrypi:~/GAME/DOOM/Editor $
3/ Téléchargement du code source.
pi@raspberrypi:~/GAME/DOOM/Editor $ wget https://github.com/sirjuddington/SLADE/archive/3.1.1.5.tar.gz
4/ Décompression de l’archive.
pi@raspberrypi:~/GAME/DOOM/Editor $ tar xvfz 3.1.1.5.tar.gz
pi@raspberrypi:~/GAME/DOOM/Editor $ cd SLADE-3.1.1.5/dist/ pi@raspberrypi:~/GAME/DOOM/Editor/SLADE-3.1.1.5/dist $
5/ Configuration de la compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/SLADE-3.1.1.5/dist $ cmake .. -DUSE_WEBKIT_STARTPAGE=ON -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config'
6/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/SLADE-3.1.1.5/dist $ make
7/ Erreurs.
Erreur #1 :
cc: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
Solution :
Ouvrir :
src/CMakeLists.txt
Chercher et commenter :
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_USE_SSE -msse")
8/ Lancement de l’éditeur.
pi@raspberrypi:~/GAME/DOOM/Editor/SLADE-3.1.1.5/dist $ ./slade
Comments are closed, but trackbacks and pingbacks are open.