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 [2017/10/21 13:18] cpsdev: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://git.drumgizmo.org/drumgizmo.git+
  
 +Clone the project in read-only mode:
 +<code>
 +git clone --branch develop --recursive git://git.drumgizmo.org/drumgizmo.git
 +</code>
  
-# 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 +<code> 
-git submodule update+brew install autoconf automake libtool 
 +</code>
  
 +Now install the dependencies:
 +<code>
 +brew install pkg-config libsndfile jack lv2
 +</code>
  
-# Make sure autotools are installed and up-to-date:\\ +=====Download VST sources===== 
-# The simplest way to do this is using Homebrew: +You need to download the VST sources yourself from the Steinberg website, 
-brew install autoconf automake libtool+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.
  
-# Make sure cppunit is installed and up-to-date:\\ +IMPORTANTThe 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://archive.org/download/VST2SDK/vst_sdk2_4_rev2.zip 
-Run autogen:\\+=====Compiling===== 
 +Run autogen: 
 +<code>
 ./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> 
-LDFLAGS=-L/Users/drumgizmo/cppunit/sysinstall/lib +./configure \ 
-CPPFLAGS=-I/Users/drumgizmo/cppunit/sysinstall/include+  --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="$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>
  
-# 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="$PWD/sysinstall" +<code>
- +
- +
-# Make:\\ +
-cd src+
 make make
 +make install
 +</code>
  
-cd drumgizmo +=====Making VST discoverable by hosts===== 
-make+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''.
  
-cd plugingui 
-make 
- 
-cd drumgizmo 
-make install 
dev/macosx_building_howto.1508584703.txt.gz · Last modified: 2017/10/21 13:18 by cps
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0