This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev:macosx_building_howto [2018/08/08 17:49] – 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:\\ | ||
| - | git clone http:// | ||
| + | **NOTE: OSX only currently compiles on the develop branch!** | ||
| - | # Initialise and update submodules:\\ | + | Clone the project in read-only mode: |
| - | git submodule init\\ | + | < |
| - | git submodule update | + | git clone --branch develop --recursive git:// |
| + | </ | ||
| - | + | 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: | ||
| + | < | ||
| + | brew install pkg-config libsndfile jack lv2 | ||
| + | </ | ||
| - | # Now install | + | =====Download VST sources===== |
| - | brew install pkgconfig libsndfile jack | + | You need to download |
| + | 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' | ||
| - | # zita-resampler is not available through homebrew | + | IMPORTANT: The sources supplied by Steinberg has been reported to no longer contain the VST2 SDK sources, |
| - | 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 | + | |
| - | + | Archive.org has a copy here: https://archive.org/download/VST2SDK/vst_sdk2_4_rev2.zip | |
| - | # Download VST sources: | + | =====Compiling===== |
| - | # You need to download the VST sources yourself from the Steinberg website, | + | Run autogen: |
| - | # 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' | + | |
| - | # otherwise the build-system will complain. | + | |
| - | + | ||
| - | + | ||
| - | # Run autogen:\\ | + | |
| ./ | ./ | ||
| + | </ | ||
| + | Set paths: | ||
| + | < | ||
| + | export PKG_CONFIG_PATH=/ | ||
| + | </ | ||
| - | # Set paths:\\ | + | Configure |
| - | PKG_CONFIG_PATH=/ | + | < |
| - | + | ./ | |
| - | + | | |
| - | # Configure:\\ | + | |
| - | ./configure --enable-input-jackmidi --enable-output-jackaudio --disable-output-alsa --enable-resampler=src | + | |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | --enable-lv2 \ | ||
| + | | ||
| + | </ | ||
| + | Or configure with just the vst and lv2 plugins: | ||
| + | < | ||
| + | ./configure \ | ||
| + | --disable-cli \ | ||
| + | --without-debug \ | ||
| + | --without-test \ | ||
| + | --enable-vst \ | ||
| + | --with-vst-sources=/ | ||
| + | --enable-lv2 \ | ||
| + | --prefix=" | ||
| + | </ | ||
| - | # Build it:\\ | + | Build it: |
| + | < | ||
| make | make | ||
| make install | make install | ||
| </ | </ | ||
| + | |||
| + | =====Making VST discoverable by hosts===== | ||
| + | To make use of the VST plugin, the '' | ||
| + | |||