Updated Building for Ubuntu 14.04 (markdown)

Merry 2017-10-12 16:36:28 +01:00
parent 63036bbf48
commit e440351786

@ -1,56 +1,3 @@
These instructions also apply for related distributions based on this Ubuntu LTS version. **We strongly recommend updating to Ubuntu 16.04 LTS instead**.
**We strongly recommend updating to Ubuntu 16.04 LTS**.
## Step 1: Prerequisites
### GCC
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
### libstdc++
sudo apt-get install lib32stdc++6
### xorg-dev
sudo apt-get install xorg-dev
### Qt5
sudo apt-get install qt5-default libqt5opengl5-dev
### cmake
The following instructions install `cmake` to `~/cmake`:
wget https://cmake.org/files/v3.8/cmake-3.8.1-Linux-x86_64.sh
sh cmake-3.8.1-Linux-x86_64.sh --prefix=~/cmake
### SDL2
wget http://libsdl.org/release/SDL2-2.0.4.tar.gz -O - | tar xz
cd SDL2-2.0.4
./configure
make
sudo make install
## Step 2: Build Citra
### Get Citra
git clone --recursive https://github.com/citra-emu/citra
### Compile
cd citra
mkdir build
cd build
export CC=gcc-5
export CXX=g++-5
~/cmake/bin/cmake .. -DCMAKE_BUILD_TYPE=Release
make
## Step 3: Run Citra
./src/citra_qt/citra-qt
[[See instructions for building for Ubuntu 16.04|Building-for-Ubuntu-16.04]]