mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 05:30:06 +00:00
Created Linux Build (markdown)
parent
7d2568c196
commit
02ebba67ce
47
Linux-Build.md
Normal file
47
Linux-Build.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
## Dependencies:
|
||||||
|
|
||||||
|
You'll need to download and install the following to build Citra:
|
||||||
|
|
||||||
|
* [GLFW](http://www.glfw.org/download.html) (tested with v3.0.4)
|
||||||
|
* Requires X11 and OpenGL header packages installed, e.g. xorg-dev and libglu1-mesa-dev on Ubuntu
|
||||||
|
* [Qt v4](http://qt-project.org/downloads) (tested with version 4.8.5.
|
||||||
|
* Note... v5 will be supported soon
|
||||||
|
* GCC v4.7+ (for C++11 support)
|
||||||
|
* [CMake](http://www.cmake.org/)
|
||||||
|
|
||||||
|
## Build GLFW:
|
||||||
|
|
||||||
|
Works by calling these commands from a terminal:
|
||||||
|
|
||||||
|
<pre>git clone https://github.com/glfw/glfw.git
|
||||||
|
cd glfw
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
sudo make install</pre>
|
||||||
|
|
||||||
|
## Build Citra:
|
||||||
|
|
||||||
|
<pre>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 Qt4 GUI).</pre>
|
||||||
|
|
||||||
|
## Building with debug symbols:
|
||||||
|
|
||||||
|
<pre>cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
make</pre>
|
||||||
|
|
||||||
|
## Running without installing:
|
||||||
|
|
||||||
|
<pre>cd data
|
||||||
|
../build/src/citra_qt/citra-qt</pre>
|
||||||
|
|
||||||
|
## Debugging:
|
||||||
|
|
||||||
|
<pre>cd data
|
||||||
|
gdb ../build/src/citra_qt/citra-qt
|
||||||
|
(gdb) run
|
||||||
|
(gdb) bt</pre>
|
Loading…
Reference in New Issue
Block a user