The below wiki article is based on user submitted content. Please verify all hyperlinks and terminal commands below!

See a mistake? Want to contribute? Edit this article on Github

Building for Windows

MSVC Build for Windows

Minimal Dependencies

On Windows, all library dependencies are automatically included within the "externals" folder or can be downloaded on-demand. To build yuzu, you simply need to install:



  • While installing Git Bash, you should tell it to include Git in your system path. (Choose the "Use Git from the Windows Command Prompt" option.) If you missed that, don’t worry, you’ll just have to manually tell CMake where your git.exe is, since it’s used to include version info into the built executable.


Cloning yuzu with Git

git clone --recursive
cd yuzu


NOTE: yuzu by default downloads to C:\Users\yuzu


  • Open cmake-gui and point it to the yuzu directory. Default: C:\Users\yuzu

10 11

  • For the build directory, use a build/ subdirectory inside the source directory or some other directory of your choice. (Tell CMake to create it.)

  • Click the "Configure" button and choose "Visual Studio 15 2017 Win64"


  • NOTE: If you used GitHub’s own app to clone, run git submodule update --init --recursive to get the remaining dependencies.
  • Click "Generate" to create the project files.


  • Open the solution file yuzu.sln in Visual Studio 2017, which is located in the build folder.


  • Depending if you want a graphical user interface or not ("yuzu" is with a graphical user interface, while "yuzu-cmd" is just the command line version of it), select "yuzu" or "yuzu-cmd" in the Solution Explorer, right-click and "Set as StartUp Project".



  • Select the appropriate build type, Debug for debug purposes or Release for performance (in case of doubt choose the latter).


  • Press F5 or select Build → Rebuild Solution in the menu.


Feel free to ask us in the IRC channel #yuzu @ Freenode or on Discord if you have issues.

MinGW-w64 Build with MSYS2

Prerequisites to install

Make sure to follow the instructions and update to the latest version by running pacman -Syu as many times as needed.

Install yuzu dependencies for MinGW-w64

  • Open the "MSYS2 MinGW 64-bit" (mingw64.exe) shell
  • Download and install all dependencies using: pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-qt5 mingw-w64-x86_64-SDL2 mingw-w64-x86_64-cmake make git

Clone the yuzu repository with Git

  • git clone --recursive
  • cd yuzu

Run the following commands to build yuzu (dynamic linked build)

mkdir build && cd build
cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
# test yuzu out with

Note! This build is not a static build meaning that you need to include all of the dlls with the exe in order to use it.

Building without Qt (Optional)

Doesn’t require the rather large Qt dependency, but you will lack a GUI frontend.

  • Pass the -DENABLE_QT=no flag to cmake

Clang build using clang-cl

:warning: This section is outdated and may not work

Prerequisites to install

Follow the installers instructions.

Clone the yuzu repository with Git

  • git clone --recursive
  • cd yuzu

Run the following commands to build yuzu

mkdir build
cd build
cmake.exe .. -TLLVM-vs2014 -G"Visual Studio 15 2017 Win64" -Dyuzu_USE_BUNDLED_SDL2=1 -Dyuzu_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_UNICORN=1 -DCMAKE_BUILD_TYPE=Release
cmake --build . --target yuzu-qt
# test yuzu out with