mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 14:10:10 +00:00
Created Building for Ubuntu 14.04 (markdown)
parent
9ec9e4d7e3
commit
6ccbca23e8
42
Building-for-Ubuntu-14.04.md
Normal file
42
Building-for-Ubuntu-14.04.md
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user