MacOSX Building Howto

NOTE: OSX only currently compiles on the develop branch!

Clone the project in read-only mode:

git clone --branch develop --recursive git://git.drumgizmo.org/drumgizmo.git

Make sure autotools are installed and up-to-date. The simplest way to do this is using Homebrew:

brew install autoconf automake libtool

Now install the dependencies:

brew install pkg-config libsndfile jack lv2

Download VST sources

You need to download the VST sources yourself from the Steinberg website, since we are not allowed to redistribute them through our git repo. https://www.steinberg.net/en/company/developers.html

It is needed to rename the “VST SDK” folder so it doesn't contain a space otherwise the build-system will complain.

IMPORTANT: The sources supplied by Steinberg has been reported to no longer contain the VST2 SDK sources, so an older version must be obtained from another source in order to be able to compile DrumGizmo with VST support!

Archive.org has a copy here: https://archive.org/download/VST2SDK/vst_sdk2_4_rev2.zip

Compiling

Run autogen:

./autogen.sh

Set paths:

export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libsndfile/1.0.31/lib/pkgconfig

Configure with cli enabled:

./configure \
  --enable-input-jackmidi \
  --enable-output-jackaudio \
  --disable-output-alsa \
  --disable-input-midifile \
  --enable-cli \
  --without-debug \
  --without-test \
  --enable-vst \
  --with-vst-sources=/path/to/vstsdk2.4 \
  --enable-lv2 \
  --prefix="$PWD/sysinstall"

Or configure with just the vst and lv2 plugins:

./configure \
  --disable-cli \
  --without-debug \
  --without-test \
  --enable-vst \
  --with-vst-sources=/path/to/vstsdk2.4 \
  --enable-lv2 \
  --prefix="$PWD/sysinstall"

Build it:

make
make install

Making VST discoverable by hosts

To make use of the VST plugin, the drumgizmo_vst.so file inside $PWD/sysinstall must be symlinked to the folder containing VST plugins under the name drumgizmo.vst.dylib.

dev/macosx_building_howto.txt · Last modified: 2021/09/08 18:20 by deva
Trace: macosx_building_howto
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0