From 63036bbf489c8f6e92a9131b6d8448c657a2a26c Mon Sep 17 00:00:00 2001 From: Merry Date: Thu, 12 Oct 2017 16:34:23 +0100 Subject: [PATCH] Created Building for Ubuntu 16.04 (markdown) --- Building-for-Ubuntu-16.04.md | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Building-for-Ubuntu-16.04.md diff --git a/Building-for-Ubuntu-16.04.md b/Building-for-Ubuntu-16.04.md new file mode 100644 index 0000000..0161f7a --- /dev/null +++ b/Building-for-Ubuntu-16.04.md @@ -0,0 +1,38 @@ +These instructions also apply for related distributions based on this Ubuntu LTS version. + +## Step 1: Prerequisites + +### cmake + +The following instructions install `cmake` to `~/cmake`: + + wget https://cmake.org/files/v3.9/cmake-3.9.0-Linux-x86_64.sh + sh cmake-3.9.0-Linux-x86_64.sh --prefix=$HOME/cmake + +### Other prerequisites + + sudo apt-get install build-essential git libcurl4-openssl-dev libqt5opengl5-dev libsdl2-dev libssl-dev qtbase5-dev wget xorg-dev + +## 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 + export PATH=$HOME/cmake/cmake-3.9.0-Linux-x86_64/bin:$PATH + + cmake .. -DCMAKE_BUILD_TYPE=Release + make + +## Step 3: Run Citra + + ./src/citra_qt/citra-qt \ No newline at end of file