Skip to content
Skills Library
Programming · Building & coding

mpc-plugin-build

/mpc-plugin-build

Build an MPC plugin project into the deployable "<Manufacturer> - VST - <Name>" folder (native + 32-bit ARM + 64-bit ARM), and fix compiler, linker, toolchain and validation errors. Use whenever a plugin needs compiling or a build fails.

Licence
MIT
Last repository change
07.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Build an MPC plugin project into the deployable "<Manufacturer> - VST - <Name>" folder (native + 32-bit ARM + 64-bit ARM), and fix compiler, linker, toolchain and validation errors. Use whenever a plugin needs compiling or a build fails.

Triggers from the description

<Manufacturer> - VST - <Name>
Original author description

Build an MPC plugin project into the deployable "<Manufacturer> - VST - <Name>" folder (native + 32-bit ARM + 64-bit ARM), and fix compiler, linker, toolchain and validation errors. Use whenever a plugin needs compiling or a build fails.

How it works

  1. Fixing failures
  2. Desktop VST2 (listen on this computer, e.g. in Reaper)
Original SKILL.md headings · 29 lines, 326 words
SKILL.md preview
---
name: mpc-plugin-build
description: Build an MPC plugin project into the deployable "<Manufacturer> - VST - <Name>" folder (native + 32-bit ARM + 64-bit ARM), and fix compiler, linker, toolchain and validation errors. Use whenever a plugin needs compiling or a build fails.
---

# Build

```
python tools/build.py plugins/<Name>            # everything: native, arm32, arm64, skins, version.xml, validate
python tools/build.py plugins/<Name> --target native   # quick compile check + params.json + skins
python tools/build.py plugins/<Name> --debug    # -O0 -g for the native build when debugging
```

The first run may install the Zig cross compiler into `.sdk-tools/` (one-time download). `--toolchain gcc` uses installed `arm-linux-gnueabihf-g++` / `aarch64-linux-gnu-g++`; `--toolchain docker` uses `tools/docker/Dockerfile`.

Output: `plugins/<Name>/build/<Manufacturer> - VST - <Name>/` with `plugin.json`, `version.xml`, `VST/<slug>-arm32.so`, `VST/<slug>-arm64.so`, `Plugin Skins/`, and `Content/` (verbatim copy of the project's `Content/`, if it has one).

## Fixing failures

- **Compiler errors**: read them verbatim; they are from Clang. Usual causes: wrong framework method names (check `framework/mpc_plugin.h`), missing `#include`, narrowing conversions in `{}` initialisers, unused-variable warnings are not errors.
- **Linker `undefined symbol`**: a library or OS function that the MPC does not provide. Only the C and C++ standard libraries are available; compile third-party DSP sources into `src/`.
- **Validator errors**: the message says what to change (`uid` mismatch, folder name, `numOutputs`, glibc too new, missing export). `uid` in `plugin.json` must equal `MPC_FOURCC(...)` in the C++; `name`/`manufacturer` in `plugin.json` must equal `PluginInfo::name`/`vendor`.
- **Host-sim dump fails** (so no `params.json`): the plugin crashes at load. Run `.sdk-tools/host_sim build/native/<slug>.dylib test --verbose` to see which opcode.
- **Zig missing / no network**: install Zig from ziglang.org, put it on PATH or set `ZIG=`.

Build until there are no errors and the validator prints only OK lines (warnings acceptable if understood). Then run the `mpc-plugin-test` skill.

Details: `docs/building.md`.

## Desktop VST2 (listen on this computer, e.g. in Reaper)

`python tools/build.py plugins/<Name> --target desktop` builds a generic, UI-less VST2 for the current computer into `plugins/<Name>/build/desktop/` (macOS: signed universal `<Name>.vst`; Windows/Linux: a folder with the `.dll`/`.so`, `plugin.json` and `Content/`). Tell the user where to copy it (printed at the end), that the host shows its own parameter list, and that the host must support VST2. This is not a substitute for the MPC build and `host_sim` checks.

Versions

The database has no other skills named mpc-plugin-build.

Database snapshot: 13.11.2026 · package version 86e1589c1d86 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 96mpc-plugin-package
    Package a built MPC plugin into a distributable zip with installation instructions for MPC owners. Use when the user wants to share, release, publish, upload or send their plugin, or asks how others install it.
  • 86mpc-plugin-troubleshoot
    Diagnose an MPC plugin that does not appear, fails to load, shows no UI tabs, crashes the MPC, sounds wrong, glitches, or loses settings. Use when the user reports a problem on the MPC hardware or with the build/test tools.
  • 100build-fix
    Use to auto-resolve build errors. Reads compiler/linker/bundler output, classifies, suggests minimal-diff fixes. Different from /heal (which is multi-strategy retry across build/test/lint).
  • 100compiler-toolchain
    Compiler toolchain development for custom processor ISAs — LLVM/GCC backend, assembler, linker scripts, runtime libraries, and regression validation. Use when building a compiler for a custom RISC-V extension, proprietary ISA, or any processor where no existing toolchain targets it correctly.
  • 100matlab-write-audio-plugin
    Guide authoring of Audio Toolbox plugins (audioPlugin, audioPluginSource) that pass validateAudioPlugin and generate deployable VST/AU code. Use when creating audio effect or generator plugins, writing classdef files inheriting from audioPlugin, or troubleshooting validateAudioPlugin failures.
  • 95ika-move
    Guide for integrating Ika dWallet 2PC-MPC protocol into Sui Move contracts. Use when building Move contracts that need cross-chain signing, dWallet creation, presigning, signing, future signing, key importing, or any Ika on-chain integration. Triggers on Move/Sui contract tasks…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.