This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:macosx_building_howto [2018/06/13 07:17] – deva | dev:macosx_building_howto [2021/09/08 17:55] – [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' | ||
- | # 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 \ | ||
+ | --enable-cli \ | ||
+ | --without-debug \ | ||
+ | --with-test \ | ||
+ | --disable-input-midifile \ | ||
+ | --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 \ | ||
+ | --with-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 |