Skip to content

Compiling (Windows)

Agent X edited this page Mar 29, 2025 · 14 revisions

Windows:

Download the source code

You can either download the source code for this project as a ZIP, or obtain it using git clone:

git clone https://github.com/coop-deluxe/sm64coopdx.git
cd sm64coopdx

Set up MINGW64

Download the newest version of the MSYS2 installer from here and install it.

Run MINGW64 (mingw64.exe)

Enter pacman -Syuu in the prompt and hit Enter. Press Y when it asks if you want to update packages. If it asks you to close the prompt, do so, then restart it and run the same command again. This updates the packages to their latest versions.

Install dependencies

pacman -S unzip make git mingw-w64-x86_64-gcc mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL python3

Compilation

Finally, it's time to compile. in MINGW, navigate to the folder in which you cloned or downloaded sm64coopdx if you haven't already. Once you're there, run the following command:

make -j

You can append build flags to your make invocation for any needed changes.

  • To access folders on your Windows drive, append any paths with /c/

Clone this wiki locally