mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 22:30:14 +00:00
Created Building for Ubuntu 16.04 (markdown)
parent
2f5f9a9f1c
commit
63036bbf48
38
Building-for-Ubuntu-16.04.md
Normal file
38
Building-for-Ubuntu-16.04.md
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user