forked from neobrain/citra
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux Build
archshift edited this page Mar 9, 2015
·
17 revisions
An unofficial PKGBUILD of Citra is available for Arch Linux on the AUR.
You'll need to download and install the following to build Citra:
- GLFW (tested with v3.0.4)
- Deb: You should probably build this from source. Directions are below.
- Arch:
pacman -S glfw - Qt
- Deb:
apt-get install qtbase5-devorapt-get install libqt4-dev - Arch:
pacman -S qt5orpacman -S qt4 - GCC v4.7+ (for C++11 support)
- Deb:
apt-get install build-essential - Arch:
pacman -S base-devel - CMake
- Deb:
apt-get install cmake - Arch:
pacman -S cmake
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
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.
git clone --recursive https://github.com/citra-emu/citra
cd citra
The --recursive option automatically clones the required Git submodules too.
mkdir build
cd build
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 the Qt GUI).
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd data
../build/src/citra_qt/citra-qt
cd data
gdb ../build/src/citra_qt/citra-qt
(gdb) run
<crash>
(gdb) bt