Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:macosx_building_howto [2018/08/08 17:49] devadev:macosx_building_howto [2021/09/08 18:20] (current) – [Compiling] deva
Line 1: Line 1:
 ======MacOSX Building Howto====== ======MacOSX Building Howto======
-<code> 
-# Clone the project in read-only mode:\\ 
-git clone http://git.drumgizmo.org/drumgizmo.git 
  
 +**NOTE: OSX only currently compiles on the develop branch!**
  
-# Initialise and update submodules:\\ +Clone the project in read-only mode
-git submodule init\\ +<code> 
-git submodule update+git clone --branch develop --recursive git://git.drumgizmo.org/drumgizmo.git 
 +</code>
  
- +Make sure autotools are installed and up-to-dateThe simplest way to do this is using Homebrew: 
-Make sure autotools are installed and up-to-date:\\ +<code>
-The simplest way to do this is using Homebrew:\\+
 brew install autoconf automake libtool brew install autoconf automake libtool
 +</code>
  
 +Now install the dependencies:
 +<code>
 +brew install pkg-config libsndfile jack lv2
 +</code>
  
-# Now install the dependencies:\\ +=====Download VST sources===== 
-brew install pkgconfig libsndfile jack+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://www.steinberg.net/en/company/developers.html]]
  
 +It is needed to rename the "VST SDK" folder so it doesn't contain a space otherwise the build-system will complain.
  
-# zita-resampler is not available through homebrew so compile that one yourself: +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!
-curl https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-1.6.0.tar.bz2 -O +
-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.\\ +<code>
-[[https://www.steinberg.net/en/company/developers.html]]\\ +
-# It is needed to rename the "VST SDK" folder so it doesn't contain a space\\ +
-# otherwise the build-system will complain. +
- +
- +
-Run autogen:\\+
 ./autogen.sh ./autogen.sh
 +</code>
  
 +Set paths:
 +<code>
 +export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libsndfile/1.0.31/lib/pkgconfig
 +</code>
  
-# Set paths:\\ +Configure with cli enabled: 
-PKG_CONFIG_PATH=/usr/local/lib/pkgconfig +<code> 
- +./configure 
- +  --enable-input-jackmidi 
-Configure:\\ +  --enable-output-jackaudio 
-./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=/Path/to/VST3_SDK --prefix="$PWD/sysinstall"+  --disable-output-alsa 
 +  --disable-input-midifile \ 
 +  --enable-cli 
 +  --without-debug 
 +  --without-test 
 +  --enable-vst 
 +  --with-vst-sources=/path/to/vstsdk2.4 \ 
 +  --enable-lv2 \ 
 +  --prefix="$PWD/sysinstall" 
 +</code>
  
 +Or configure with just the vst and lv2 plugins:
 +<code>
 +./configure \
 +  --disable-cli \
 +  --without-debug \
 +  --without-test \
 +  --enable-vst \
 +  --with-vst-sources=/path/to/vstsdk2.4 \
 +  --enable-lv2 \
 +  --prefix="$PWD/sysinstall"
 +</code>
  
-Build it:\\+Build it: 
 +<code>
 make make
 make install make install
 </code> </code>
 +
 +=====Making VST discoverable by hosts=====
 +To make use of the VST plugin, the ''drumgizmo_vst.so'' file inside ''$PWD/sysinstall'' must be symlinked to the folder containing VST plugins under the name ''drumgizmo.vst.dylib''.
 +
dev/macosx_building_howto.1533743395.txt.gz · Last modified: 2018/08/08 17:49 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0