Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 778 Bytes

COMPILING.md

File metadata and controls

22 lines (13 loc) · 778 Bytes

Windows

  1. Open the solution in Visual Studio (2022 or 2026)
  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 10 SDK must also be installed.

Once SDL2 and the .NET 10 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 10 SDK.

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