Skip to content

Building from source

github-actions[bot] edited this page Dec 1, 2026 · 1 revision

Building from source

You do not need to be a programmer to build OpenACMI. It takes three installs and two commands.

Most people do not need to build it at all: Installation covers the ready-made Windows release.

1. Install the tools

What Where Notes
Git git-scm.com Only used to download the source. You can instead use Code › Download ZIP on the GitHub page and unzip it
Rust rustup.rs Run the installer and accept the defaults. This gives you the cargo command
C++ build tools (Windows) Visual Studio Build Tools The Rust installer offers to install these. If you do it yourself, tick Desktop development with C++

Open a new terminal afterwards (PowerShell or Command Prompt on Windows), so that it knows about the freshly installed tools.

Linux and macOS

Neither has been tried yet, so expect to adjust.

  • Linux: in place of the Visual Studio tools you need a C compiler and the development packages for GTK 3, Wayland or X11, and xkbcommon. On Debian or Ubuntu that is roughly sudo apt install build-essential pkg-config libgtk-3-dev libxkbcommon-dev libwayland-dev libx11-dev.
  • macOS: xcode-select --install.

2. Download and build

git clone https://github.com/Spearhead2/OpenACMI.git
cd OpenACMI
cargo build --release

The first build downloads and compiles everything OpenACMI depends on, and takes several minutes. Later builds take seconds.

The project names the Rust version it is built with in rust-toolchain.toml. cargo installs that version by itself the first time.

When it finishes, the program is at target/release/openacmi.exe (target/release/openacmi on Linux and macOS).

3. Run it

cargo run --release -- samples/demo.acmi

Or start target/release/openacmi.exe directly. Run from there, it finds the assets folder in the source tree by itself.

Making a copy you can move or share

The program needs only the assets folder beside it.

  1. Create a new folder, for example OpenACMI.
  2. Copy target/release/openacmi.exe into it.
  3. Copy the whole assets folder into it, so that you have OpenACMI/assets/....

That folder can be zipped, moved or put on another computer. Settings are kept per user, not in the folder: see Settings and cache files.

On Windows, tools/package.ps1 builds the same zip a release has. See Releasing.

Updating your build

IMPORTANT: A copy built from source does not use the built-in updater, you will need to rebuild the program yourself.

git pull
cargo build --release

If something goes wrong

Problem Fix
cargo is not recognised Open a new terminal after installing Rust, or sign out and in again
link.exe not found (Windows) The C++ build tools are missing. Install them as in step 1
A blank or black 3D view Update your graphics driver. OpenACMI needs DirectX 12, Vulkan or Metal
Anything else Open an issue with the last lines the build printed

Next

Clone this wiki locally