Installation du client Minetest Stable 0.4.15 sur Raspberry Pi 3

Installation du client Minetest Stable 0.4.15 sur Raspberry Pi 3.

* Matériel : Raspberry Pi 3
* Distribution : Raspbian Jessie with desktop
Image : 2017-07-05-raspbian-jessie.zip
Adresse de téléchargement : http://vx2-downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/2017-07-05-raspbian-jessie.zip

1/ Installation des paquets de développement.

pi@doom:~ $ sudo apt-get install build-essential git-core cmake libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libluajit-5.1-2 libluajit-5.1-dev  libncurses5-dev doxygen gettext-base libgettextpo-dev libopenal-dev libvorbis-dev gettext libleveldb-dev postgresql postgresql-server-dev-9.6

2/ Répertoire de travail.

pi@doom:~ $ mkdir -p JEUX/MINETEST.415
pi@doom:~ $ cd JEUX/MINETEST.415/
pi@doom:~/JEUX/MINETEST.415 $

3/ Téléchargement du code source.

pi@doom:~/JEUX/MINETEST.415 $ git clone https://github.com/minetest/minetest.git
Clonage dans 'minetest'...
...
Vérification de la connectivité... fait.
pi@doom:~/JEUX/MINETEST.415 $

4/ Récupération du tag de la version stable : 0.4.15

pi@doom:~/JEUX/MINETEST.415 $ cd minetest/
pi@doom:~/JEUX/MINETEST.415/minetest $ git checkout tags/0.4.15
Note: checking out 'tags/0.4.15'.
...
HEAD est maintenant sur 231ac33... Bump version to 0.4.15
pi@doom:~/JEUX/MINETEST.415/minetest $

5/ Création de la branche stable : 0.4.15

pi@doom:~/JEUX/MINETEST.415/minetest $ git checkout -b 0.4.15
Basculement sur la nouvelle branche '0.4.15'
pi@doom:~/JEUX/MINETEST.415/minetest $

6/ Configuration de la compilation.

pi@doom:~/JEUX/MINETEST.415/minetest $ cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DENABLE_LUAJIT=TRUE -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=TRUE -DENABLE_CURL=TRUE -DENABLE_GLES=TRUE -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
...
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/JEUX/MINETEST.415/minetest
pi@doom:~/JEUX/MINETEST.415/minetest $

7/ Compilation de Minetest.

pi@doom:~/JEUX/MINETEST.415/minetest $ make -j2
Scanning dependencies of target GenerateVersion
Scanning dependencies of target jsoncpp
[  0%] Building CXX object lib/jsoncpp/CMakeFiles/jsoncpp.dir/jsoncpp.cpp.o
[  0%] Built target GenerateVersion
...
[100%] Building CXX object src/CMakeFiles/minetest.dir/wieldmesh.cpp.o
[100%] Linking CXX executable ../bin/minetest
/usr/bin/ld: warning: libjpeg.so.8, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/libIrrlicht.so, may conflict with libjpeg.so.62
[100%] Built target minetest
pi@doom:~/JEUX/MINETEST.415/minetest $

8/ Téléchargement du jeu de base.

pi@doom:~/JEUX/MINETEST.415/minetest $ cd games/
pi@doom:~/JEUX/MINETEST.415/minetest/games $ git clone https://github.com/minetest/minetest_game.git
Clonage dans 'minetest_game'...
...
Vérification de la connectivité... fait.
pi@doom:~/JEUX/MINETEST.415/minetest/games $

9/ Récupérer la version stable : tag 0.4.15

pi@doom:~/JEUX/MINETEST.415/minetest/games $ cd minetest_game/
pi@doom:~/JEUX/MINETEST.415/minetest/games/minetest_game $ git checkout tags/0.4.15
Note: checking out 'tags/0.4.15'.
...
HEAD est maintenant sur 3c9d089... Boats: Avoid crash if boat pos over limit
pi@doom:~/JEUX/MINETEST.415/minetest/games/minetest_game $

10/ Création de la branche stable 0.4.15

pi@doom:~/JEUX/MINETEST.415/minetest/games/minetest_game $ git checkout -b 0.4.15
Basculement sur la nouvelle branche '0.4.15'
pi@doom:~/JEUX/MINETEST.415/minetest/games/minetest_game $

11/ Lancement du client.

En Local :

pi@doom:~/JEUX/MINETEST.415/minetest/games/minetest_game $ cd ../../bin/
pi@doom:~/JEUX/MINETEST.415/minetest/bin $ ./minetest

12/ Capture d’écran.

13/ Liens.

https://dev.minetest.net/Compiling_Minetest
http://serveur2jeu.info/installation-du-serveur-minetest-sur-ubuntu-16-04-configuration-pour-limpression-3d/
https://miniordi.hacktech.dev/installation-du-client-minetest-stable-0-4-16-sur-raspberry-pi-3/

Comments are closed, but trackbacks and pingbacks are open.