Skip to content
archshift edited this page Oct 11, 2014 · 10 revisions

Dependencies:

It's recommended that you use homebrew to install dependencies. You'll need to download and install the following to build Citra:

  • pkg-config (brew install pkgconfig)
  • GLFW (brew tap homebrew/versions, brew install glfw3)
  • Qt5 (brew install qt5)
  • CMake (brew install cmake)

Building GLFW from source:

Should you choose not to use homebrew, type these commands in a terminal:

git clone https://github.com/glfw/glfw.git
cd glfw
mkdir build && cd build
cmake ..
make
sudo make install

Cloning Citra in Git:

git clone https://github.com/citra-emu/citra
cd citra
git submodule update --init

Using CMake:

mkdir build
cd build
cmake .. -GXcode

Optionally, you can use cmake -i .. to adjust various options (e.g. disable Qt GUI).

Building with debug symbols:

cmake .. -GXcode -DCMAKE_BUILD_TYPE=Debug

Building Citra:

Open the project file in Xcode, switch the target from ALL_BUILD to citra or citra_qt, and press the play button.

Clone this wiki locally