mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 22:40:05 +00:00
Update for SDL2
parent
18667a77e2
commit
a8a54a9cbd
@ -4,9 +4,9 @@ An unofficial PKGBUILD of Citra is available for Arch Linux on the [AUR](https:/
|
|||||||
|
|
||||||
You'll need to download and install the following to build Citra:
|
You'll need to download and install the following to build Citra:
|
||||||
|
|
||||||
* [GLFW](http://www.glfw.org/download.html) (tested with v3.0.4)
|
* [SDL2](https://www.libsdl.org/download-2.0.php)
|
||||||
* Deb: You should probably build this from source. Directions are below.
|
* Deb: `apt-get install sdl2`
|
||||||
* Arch: `pacman -S glfw`
|
* Arch: `pacman -S sdl2`
|
||||||
* [Qt](http://qt-project.org/downloads)
|
* [Qt](http://qt-project.org/downloads)
|
||||||
* Deb: `apt-get install qtbase5-dev libqt5opengl5-dev` or `apt-get install libqt4-dev libqt4-opengl-dev`
|
* Deb: `apt-get install qtbase5-dev libqt5opengl5-dev` or `apt-get install libqt4-dev libqt4-opengl-dev`
|
||||||
* Arch: `pacman -S qt5` or `pacman -S qt4`
|
* Arch: `pacman -S qt5` or `pacman -S qt4`
|
||||||
@ -17,21 +17,6 @@ You'll need to download and install the following to build Citra:
|
|||||||
* Deb: `apt-get install cmake`
|
* Deb: `apt-get install cmake`
|
||||||
* Arch: `pacman -S cmake`
|
* Arch: `pacman -S cmake`
|
||||||
|
|
||||||
### Building GLFW:
|
|
||||||
|
|
||||||
On Debian, install dependencies with `apt-get install xorg-dev libglu1-mesa-dev`. Then compile using these commands from a terminal:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/glfw/glfw.git
|
|
||||||
cd glfw
|
|
||||||
mkdir build && cd build
|
|
||||||
cmake -DBUILD_SHARED_LIBS=ON ..
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
```
|
|
||||||
|
|
||||||
If you're on Arch Linux, you can use `pacman -S glfw` instead.
|
|
||||||
|
|
||||||
### Cloning Citra in Git:
|
### Cloning Citra in Git:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user