Last active
February 29, 2016 10:10
-
-
Save aschaeffer/f00113854c20a9e0ee57 to your computer and use it in GitHub Desktop.
Revisions
-
aschaeffer revised this gist
Feb 29, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ # Created: 2016-02-29 ### By: Hanack ### v0.5 ### License: zlib # # Install development packages sudo apt-get install git cmake build-essential libsdl2{,-mixer,-image}-dev libgl1-mesa-dev libprotobuf-dev protobuf-compiler libenet-dev libudev-dev libboost-all-dev npm # Fetch source code and media mkdir ~/git -
aschaeffer created this gist
Feb 29, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ #!/bin/sh # This script bootstraps a development environment for inexor on Debian / Ubuntu # Created: 2016-02-29 ### By: Hanack ### v0.5 ### License: zlib # # Install development packages sudo apt-get install git cmake build-essential libsdl2{,-mixer,-image}-dev libgl1-mesa-dev libprotobuf-dev protobuf-compiler libenet-dev libudev-dev libboost-all-dev # Fetch source code and media mkdir ~/git cd ~/git git clone --recursive https://github.com/inexor-game/code.git inexor-code git clone https://github.com/inexor-game/data.git inexor-data git clone https://github.com/inexor-game/data-additional.git inexor-data-additional # git clone https://github.com/inexor-game/data-playground.git inexor-data-playground # Wire data repositories and code repository mkdir ~/git/inexor-code/media ln -s ~/git/inexor-data ~/git/inexor-code/media/data ln -s ~/git/inexor-data-additional ~/git/inexor-code/media/data-additional # ln -s ~/git/inexor-data-playground ~/git/inexor-code/media/data-playground # Working around the libudev error # (see also: https://github.com/inexor-game/code/wiki/Build#working-around-the-libudev-error) sudo ln -sf /lib/$(arch)-linux-gnu/libudev.so.1 /lib/$(arch)-linux-gnu/libudev.so.0 # Build mkdir ~/git/inexor-build cd ~/git/inexor-build cmake ../inexor-code make install # Run # cd ~/git/inexor-code # ./inexor_unix