Last active
July 30, 2016 20:01
-
-
Save beevelop/2ed3551488f0ed61abc7ef99721e7896 to your computer and use it in GitHub Desktop.
Minetest Compilation on Raspberry PI 2 (Raspbian Jessie)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install build-essential cmake git libirrlicht-dev libbz2-dev libgettextpo-dev \ | |
libfreetype6-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev \ | |
libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libhiredis-dev libcurl3-dev \ | |
libspatialindex-dev libncurses-dev luajit-5.1-dev doxygen libleveldb-dev libgmp3-dev \ | |
gettext postgresql-server-dev-9.4 | |
git clone https://github.com/minetest/minetest.git | |
cd minetest/ | |
cd games/ | |
git clone https://github.com/minetest/minetest_game.git | |
cd ../ | |
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DCURSES_LIBRARY=/lib/arm-linux-gnueabihf/libncurses.so.5 | |
make -j$(grep -c processor /proc/cpuinfo) | |
cd bin/ | |
ls -lah |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment