Tweak build instructions to prefer new libraries and binary GLFW

yuriks 2014-10-19 20:40:38 -07:00
parent 4d35478d1b
commit 4cef85ba2e

@ -3,21 +3,21 @@
You'll need to download and install the following to build Citra:
* [GLFW](http://www.glfw.org/download.html) (tested with v3.0.4)
* You should probably build this from source. Directions are below.
* Deb: Requires `apt-get install xorg-dev` and `apt-get install libglu1-mesa-dev`
* Deb: You should probably build this from source. Directions are below.
* Arch: `pacman -S glfw`
* [Qt](http://qt-project.org/downloads)
* Deb: `apt-get install libqt4-dev` or `apt-get install libqt5-dev`
* Arch: `pacman -S qt4` or `pacman -S qt5`
* Deb: `apt-get install libqt5-dev` or `apt-get install libqt4-dev`
* Arch: `pacman -S qt5` or `pacman -S qt4`
* GCC v4.7+ (for C++11 support)
* Deb: `apt-get install build-essential`
* Arch: `pacman -S gcc`, `pacman -S make`
* Arch: `pacman -S base-devel`
* [CMake](http://www.cmake.org/)
* Deb: `apt-get install cmake`
* Arch: `pacman -S cmake`
### Building GLFW:
Works by calling these commands from a terminal:
On Debian, install dependencies with `apt-get install xorg-dev` and `apt-get install libglu1-mesa-dev`. Then compile using these commands from a terminal:
```
git clone https://github.com/glfw/glfw.git
@ -47,7 +47,7 @@ cmake ..
make
sudo make install (currently doesn't work, needs to be fixed)
```
Optionally, you can use "cmake -i .." to adjust various options (e.g. disable Qt4 GUI).
Optionally, you can use "cmake -i .." to adjust various options (e.g. disable the Qt GUI).
### Building with debug symbols:
@ -69,5 +69,6 @@ cd data
cd data
gdb ../build/src/citra_qt/citra-qt
(gdb) run
<crash>
(gdb) bt
```