This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:macosx_building_howto [2019/05/31 08:26] – deva | 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:// | + | |
- | </ | + | |
- | # Initialise and update submodules:\\ | + | Clone the project in read-only mode: |
< | < | ||
- | git submodule init | + | git clone --branch develop --recursive git:// |
- | git submodule update | + | |
</ | </ | ||
- | + | Make sure autotools are installed and up-to-date. The simplest way to do this is using Homebrew: | |
- | # Make sure autotools are installed and up-to-date:\\ | + | |
- | # The simplest way to do this is using Homebrew:\\ | + | |
< | < | ||
brew install autoconf automake libtool | brew install autoconf automake libtool | ||
</ | </ | ||
- | + | Now install the dependencies: | |
- | # Now install the dependencies: | + | |
< | < | ||
- | brew install | + | brew install |
</ | </ | ||
+ | =====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:// | ||
- | # zita-resampler is not available through homebrew so compile that one yourself: | + | It is needed to rename the "VST SDK" folder so it doesn' |
- | < | + | |
- | curl https:// | + | |
- | tar xvjf zita-resampler-1.6.0.tar.bz2 | + | |
- | cd zita-resampler-1.6.0 | + | |
- | cd libs/ | + | |
- | make -f Makefile-osx | + | |
- | make -f Makefile-osx install | + | |
- | </ | + | |
- | + | ||
- | # 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:// | + | |
- | # It is needed to rename the "VST SDK" folder so it doesn' | + | |
- | # 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! | ||
- | # Run autogen:\\ | + | Archive.org has a copy here: https:// |
+ | =====Compiling===== | ||
+ | Run autogen: | ||
< | < | ||
./ | ./ | ||
</ | </ | ||
+ | Set paths: | ||
+ | < | ||
+ | export PKG_CONFIG_PATH=/ | ||
+ | </ | ||
- | # Set paths:\\ | + | Configure with cli enabled: |
< | < | ||
- | PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | + | ./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=" | ||
</ | </ | ||
- | + | Or configure with just the vst and lv2 plugins: | |
- | # Configure:\\ | + | |
< | < | ||
- | ./ | + | ./ |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | --enable-lv2 \ | ||
+ | | ||
</ | </ | ||
- | # Build it:\\ | + | Build it: |
< | < | ||
make | make | ||
make install | make install | ||
</ | </ | ||
+ | |||
+ | =====Making VST discoverable by hosts===== | ||
+ | To make use of the VST plugin, the '' | ||