This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:macosx_building_howto [2017/10/21 13:18] – cps | dev:macosx_building_howto [2021/09/08 18:20] (current) – [Compiling] deva | ||
---|---|---|---|
Line 1: | Line 1: | ||
======MacOSX Building Howto====== | ======MacOSX Building Howto====== | ||
- | # Clone the project in read-only mode:\\ | + | **NOTE: OSX only currently compiles on the develop branch!** |
- | git clone http:// | + | |
+ | Clone the project in read-only mode: | ||
+ | < | ||
+ | git clone --branch develop --recursive git:// | ||
+ | </ | ||
- | # Initialise | + | Make sure autotools are installed |
- | git submodule init | + | < |
- | git submodule update | + | brew install autoconf automake libtool |
+ | </ | ||
+ | Now install the dependencies: | ||
+ | < | ||
+ | brew install pkg-config libsndfile jack lv2 | ||
+ | </ | ||
- | # Make sure autotools are installed and up-to-date:\\ | + | =====Download VST sources===== |
- | # The simplest way to do this is using Homebrew: | + | You need to download the VST sources yourself from the Steinberg website, |
- | brew install autoconf automake libtool | + | since we are not allowed |
+ | [[https:// | ||
+ | It is needed to rename the "VST SDK" folder so it doesn' | ||
- | # Make sure cppunit is installed and up-to-date:\\ | + | 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! |
- | brew install cppunit | + | |
- | + | Archive.org has a copy here: https:// | |
- | # Run autogen:\\ | + | =====Compiling===== |
+ | Run autogen: | ||
+ | < | ||
./ | ./ | ||
+ | </ | ||
+ | Set paths: | ||
+ | < | ||
+ | export PKG_CONFIG_PATH=/ | ||
+ | </ | ||
- | # Set paths:\\ | + | Configure with cli enabled: |
- | PKG_CONFIG_PATH=/usr/local/lib/ | + | < |
- | LDFLAGS=-L/ | + | ./ |
- | CPPFLAGS=-I/ | + | --enable-input-jackmidi |
+ | | ||
+ | --disable-output-alsa \ | ||
+ | --disable-input-midifile \ | ||
+ | --enable-cli \ | ||
+ | --without-debug \ | ||
+ | --without-test \ | ||
+ | --enable-vst \ | ||
+ | --with-vst-sources=/path/to/vstsdk2.4 \ | ||
+ | --enable-lv2 \ | ||
+ | --prefix=" | ||
+ | </code> | ||
+ | Or configure with just the vst and lv2 plugins: | ||
+ | < | ||
+ | ./configure \ | ||
+ | --disable-cli \ | ||
+ | --without-debug \ | ||
+ | --without-test \ | ||
+ | --enable-vst \ | ||
+ | --with-vst-sources=/ | ||
+ | --enable-lv2 \ | ||
+ | --prefix=" | ||
+ | </ | ||
- | # Configure:\\ | + | Build it: |
- | ./configure --enable-input-jackmidi --enable-output-jackaudio --disable-output-alsa --enable-resampler=src --enable-cli --without-debug --with-test --disable-input-midifile --prefix=" | + | < |
- | + | ||
- | + | ||
- | # Make:\\ | + | |
- | cd src | + | |
make | make | ||
+ | make install | ||
+ | </ | ||
- | cd drumgizmo | + | =====Making VST discoverable by hosts===== |
- | make | + | To make use of the VST plugin, the '' |
- | cd plugingui | ||
- | make | ||
- | |||
- | cd drumgizmo | ||
- | make install |