Created
May 1, 2016 16:12
-
-
Save xet7/2106fa08576c809a4fcccd10bdd5f109 to your computer and use it in GitHub Desktop.
build-SFML-and-TSC.sh
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
# Linux Mint 17.3 64bit | |
sudo apt-get install build-essential libudev-dev cmake cmake-gui libfreetype6-dev libjpeg-dev libx11-dev libxrandr-dev libxcb1-dev libxcb-image0-dev libgl1-mesa-dev libflac-dev libogg-dev libvorbis-dev libvorbisenc2 libvorbisfile3 libopenal-dev libpthread-stubs0-dev cmake-gui | |
git clone https://github.com/SFML/SFML.git | |
mkdir sfml-build | |
cmake-gui | |
# I selected SFML code directory master branch and sfml-build for binaries. | |
# I clicked Configure twice and Generate once, then closed cmake-gui. | |
cd sfml-build | |
make | |
sudo make install | |
# Then compiled http://www.secretchronicles.de game: | |
git clone https://github.com/Secretchronicles/TSC.git | |
cd TSC | |
git submodule init && git submodule update | |
sudo apt-get install ruby-full rake gperf pkg-config bison libglew-dev \ | |
freeglut3-dev gettext libpng12-dev libsdl-ttf2.0-dev \ | |
libsdl-mixer1.2-dev libsdl-image1.2-dev libpcre3-dev libxml++2.6-dev \ | |
libfreetype6-dev libdevil-dev libboost1.55-all-dev | |
cd tsc | |
mkdir build | |
cd build | |
rm -rf /home/username/tsc && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/username/tsc .. && make && make install | |
cd ~/tsc | |
./bin/tsc | |
./bin/tsc: error while loading shared libraries: libsfml-audio.so.2.3: cannot open shared object file: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment