Mesen2/COMPILING.md
2023-02-05 12:02:18 -05:00

763 B

Windows

  1. Open the solution in Visual Studio 2022
  2. Compile as Release/x64
  3. Set the startup project to the UI project and run

Linux

To build under Linux you need a version of Clang or GCC that supports C++17.

Additionally, SDL2 and the .NET 6 SDK must also be installed.

Once SDL2 and the .NET 6 SDK are installed, run make to compile with Clang.
To compile with GCC instead, use USE_GCC=true make.
Note: Mesen usually runs faster when built with Clang instead of GCC.

macOS

To build macOS, install SDL2 (i.e via Homebrew) and the .NET 6 SDK.

Once SDL2 and the .NET 6 SDK are installed, run make.