Skip to content

Compiling (Linux)

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

Linux:

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

Install dependencies

The build system has the following package requirements:

  • python3 >= 3.6
  • libsdl2-dev
  • libglew-dev
  • git
  • libcurl
  • zlib

Debian / Ubuntu - targeting 64 bits

sudo apt install build-essential git python3 libglew-dev libsdl2-dev libz-dev libcurl4-openssl-dev

Fedora - targeting 64 bits

sudo dnf install make gcc python3 glew-devel SDL2-devel zlib-devel libcurl-devel

Arch Linux / SteamOS

sudo pacman -S base-devel glibc linux-api-headers python sdl2 glew zlib libglvnd libcurl-compat

Compilation

Finally, it's time to compile. in the terminal, 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.