/ VST Home / Tutorials / Building the examples

Building the examples included in the SDK on Linux

On this page:


Goal

This tutorial explains how to set up your computer and create an environment for compiling the VST 3 audio plug-in examples provided with the VST 3 SDK. These include plug-ins like simple DSP effects (Gain, compressor, delay, ...), synths instruments and some plug-ins showing how to handle some specific VST 3 features (Note Expression, Program Change, channel info context, ...).

They can be loaded into VST 3 hosts like Cubase, WaveLab, ...


Part 1: Getting and installing the VST 3 SDK

For downloading the SDK, see this section "How to set up my system for VST 3".

Download cmake from: https://cmake.org/download/ or use a package manager for your OS.


Part 2: Building the examples on Linux

  • Install the required packages: Required packages
  • Create a folder for the build and move to this folder (using cd):
mkdir build
cd build
  • Generate the solution/projects: specify the path to the project where CMakeLists.txt is located:
cmake ../vst3sdk
  • Build the plug-in:
make
(or alternatively for example for release)

cmake --build . --config Release