

bashrc file (change QTDIR variable if installing another version)Įxport QTDIR=“$HOME/Qt5.11. Install selecting only Desktop gcc option besides the Tools one that you can’t removeĪdd those exports to your. Wget link_to_latest_linux_official_releaseĬhmod +x qt-opensource-linux-圆4-x.x.x.run Go to and get the latest linux version link (this guide used 5.11.1 at the time) and run the following commands: If you had an error while building citra-qt part (this part was added from an AutoMoc subprocess error when running a qt5/bin/moc command, but this may fix some other errors) DCMAKE_BUILD_TYPE=RelWithDebInfoĪfter building, the binaries citra, citra-qt and citra-room (depending on your build options) will end up in build/bin/.

DCMAKE_BUILD_TYPE=Release -DENABLE_FFMPEG_AUDIO_DECODER=ON instead.Ĭmake. To enable HLE AAC Decoding, use cmake.DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++"īuilding Citra in Release Mode (Optimized): mkdir build Note: It is important you use libc++, otherwise your build will likely fail: mkdir buildĬmake. DENABLE_FFMPEG_AUDIO_DECODER=ON instead. The -recursive option automatically clones the required Git submodules too.

However, if you already have Boost library installed on your system, please make sure its version is at least 1.66 (which contains a bug fix for GCC 7), otherwise compilation would fail.Ĭloning Citra in Git: git clone -recursive Note on Boost library: you don’t need to install Boost library on your system, because citra provides a bundled trimmed Boost library.

Arch: pacman -S clang, libc++ is in the AUR.Deb: apt-get install clang clang-format libc++-dev (in some distros, clang-5.0).OpenSUSE Tumbleweed: zypper in ffmpeg-4 ffmpeg-4-libavcodec-develĬompiler: GCC or Clang.OpenSUSE Leap 15: zypper in ffmpeg-3 ffmpeg-3-libavcodec-devel.Deb: sudo apt install ffmpeg libswscale-dev libavformat-dev libavcodec-dev libavdevice-dev.Optional dependencies needed for HLE AAC Decoding on Linux OpenSUSE: zypper in libQt5Multimedia5 libqt5-qtmultimedia-devel libQt5Concurrent-devel.Fedora: dnf install qt5-qtmultimedia-devel.You may also need apt-get install libqt5multimedia5-plugins to get the camera working.Deb: apt-get install qtbase5-dev libqt5opengl5-dev qtmultimedia5-dev.See the section Install new Qt version below if your distro does not provide a sufficient version of Qt You’ll need to download and install the following to build Citra: See a mistake? Want to contribute? Edit this article on Github Building for LinuxĪn unofficial PKGBUILD of Citra is available for Arch Linux on the AUR. Please verify all hyperlinks and terminal commands below! The below wiki article is based on user submitted content.
