This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:macosx_building_howto [2018/06/16 19:54] – 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:// | + | |
+ | Clone the project in read-only mode: | ||
+ | < | ||
+ | git clone --branch develop --recursive git:// | ||
+ | </ | ||
- | # Initialise and update submodules: | + | Make sure autotools are installed and up-to-date. The simplest way to do this is using Homebrew: |
- | git submodule init\\ | + | < |
- | git submodule update | + | |
- | + | ||
- | + | ||
- | # 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 libresample 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' | ||
- | # Download VST sources: | + | IMPORTANT: The sources |
- | # You need to download | + | |
- | # since we are not allowed | + | |
- | [[https:// | + | |
- | # It is needed | + | |
- | # otherwise the build-system will complain. | + | |
- | + | 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/pkgconfig | + | < |
+ | ./ | ||
+ | --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 --enable-vst --with-vst-sources=/ | + | < |
+ | make | ||
+ | make install | ||
+ | </code> | ||
+ | =====Making VST discoverable by hosts===== | ||
+ | To make use of the VST plugin, the '' | ||
- | # Build it:\\ | ||
- | make | ||
- | make install |