From 6ccbca23e833febdb57a10a5de0f5cdbb26f27c5 Mon Sep 17 00:00:00 2001 From: Maribel Date: Mon, 4 Apr 2016 14:28:56 +0100 Subject: [PATCH] Created Building for Ubuntu 14.04 (markdown) --- Building-for-Ubuntu-14.04.md | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Building-for-Ubuntu-14.04.md diff --git a/Building-for-Ubuntu-14.04.md b/Building-for-Ubuntu-14.04.md new file mode 100644 index 0000000..6a36688 --- /dev/null +++ b/Building-for-Ubuntu-14.04.md @@ -0,0 +1,42 @@ +These instructions also apply for related distributions based on this Ubuntu LTS version. We strongly recommend updating to Ubuntu 16.04 LTS instead when it's released (scheduled for late April 2016). + +## 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 + +### `cmake` + +The following instructions install `cmake` to `~\cmake`: + + wget https://cmake.org/files/v3.5/cmake-3.5.1-Linux-x86_64.sh + sh cmake-3.5.1-Linux-x86_64.sh --prefix=~/cmake + +## Step 2: Build Citra + +### Get Citra + + git clone --recursive https://github.com/citra-emu/citra + +### Compile + + mkdir citra/build + cd citra/build + export CXX=g++-5 + ~/cmake/bin/cmake .. -DCMAKE_BUILD_TYPE=Release -DCITRA_FORCE_QT4=ON + make + +## Step 3: Run Citra + + ./src/citra_qt/citra-qt \ No newline at end of file