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
documentation:compiling_installing_-_linux [2017/02/15 11:58] – [Compile from tar-ball] devadocumentation:compiling_installing_-_linux [2021/06/10 06:53] (current) deva
Line 1: Line 1:
 ======Compiling and Installing on linux (LV2 only)====== ======Compiling and Installing on linux (LV2 only)======
-This guide will show you how to unpack, compile and install the lv2 version of the drumgizmo plugin. It will also show how to make it usable for the LV2 host Ardour3+This guide will show you how to unpack, compile and install the lv2 version of the drumgizmo plugin. It will also show how to make it usable for the LV2 host Ardour
-=====Install dependecies=====+=====Install dependencies=====
 The dependencies needed are: The dependencies needed are:
-  * lv2-devel in at least version 1.0 +  * lv2 >= 1.0 (https://lv2plug.in/) 
-  * libx11-dev (for the UI) +  * Xlib (for the UI) (https://www.x.org/
-  * libsndfile-devel in at least version 1.0.21 +  * sndfile >= 1.0.21 (http://www.mega-nerd.com/libsndfile/)
-  * zita-resampler-devel (or libsamplerate-devel if zita-resampler is not availble on your platform) +
-  * libexpat-devel.+
  
 On a Debian based system (this includes Ubuntu) the following command should work: On a Debian based system (this includes Ubuntu) the following command should work:
 <code> <code>
-sudo apt-get install \+sudo apt install \
   build-essential \   build-essential \
   autoconf \   autoconf \
Line 18: Line 16:
   lv2-dev \   lv2-dev \
   xorg-dev \   xorg-dev \
-  libsndfile1-dev \ +  libsndfile1-dev
-  libzita-resampler-dev \ +
-  libexpat-dev+
 </code> </code>
  
-If you plan on compiling the commandline tool as weel you will need the following dependencies as well:+If you plan on compiling the command-line tool as well you will need the following dependencies as well:
 <code> <code>
-sudo apt-get install \+sudo apt install \
   libjack-dev \   libjack-dev \
   libsmf-dev \   libsmf-dev \
Line 32: Line 28:
 =====Compile from tar-ball===== =====Compile from tar-ball=====
 First download the latest source tar-ball from [[:getting_drumgizmo|this]] location. First download the latest source tar-ball from [[:getting_drumgizmo|this]] location.
-In this example version 0.9.12 will be used.+In this example version 0.9.15 will be used.
  
-Unpack the source file by issuing the followng command:+Unpack the source file by issuing the following command:
 <code> <code>
-tar xvzf drumgizmo-0.9.12.tar.gz+tar xvzf drumgizmo-0.9.15.tar.gz
 </code> </code>
  
-This will produce a folder with the name ''drumgizmo-0.9.12''.+This will produce a folder with the name ''drumgizmo-0.9.15''.
  
 Now do the following to configure and compile the plugin: Now do the following to configure and compile the plugin:
 <code> <code>
-cd drumgizmo-0.9.12+cd drumgizmo-0.9.15
 ./configure --prefix=$PWD/install --with-lv2dir=$HOME/.lv2 --enable-lv2 --disable-cli ./configure --prefix=$PWD/install --with-lv2dir=$HOME/.lv2 --enable-lv2 --disable-cli
 make make
Line 49: Line 45:
 </code> </code>
  
-If you also want the command line tool, replace the ''--disable-cli'' argumnt with ''enable-cli''.+If you also want the command line tool, replace the ''--disable-cli'' argument with ''--enable-cli''.
 =====Compile from git sources===== =====Compile from git sources=====
 First clone the git sources as described [[:getting_drumgizmo#latest_source_code|this]] location. First clone the git sources as described [[:getting_drumgizmo#latest_source_code|this]] location.
Line 57: Line 53:
 cd drumgizmo cd drumgizmo
 </code> </code>
 +
 +If the git repository was already cloned earlier (and you made a ''git pull'' instead of a clone) be sure to run ''git submodule init; git submodule update'' before you compile.
  
 Now do the following to configure and compile the plugin: Now do the following to configure and compile the plugin:
Line 66: Line 64:
 </code> </code>
 The configure step might fail if the lv2-devel package is not present with at least version 1.0. The configure step might fail if the lv2-devel package is not present with at least version 1.0.
-It also requires libsndfile-devel in at least version 1.0.21 and libexpat-devel.+It also requires libsndfile-devel in at least version 1.0.21.
  
 +If you also want the command line tool, replace the ''--disable-cli'' argumnt with ''--enable-cli''.
 =====Install===== =====Install=====
 When the ''make install'' step has been successfully performed plugin has been installed in the folder $HOME/.lv2/drumgizmo.lv2. This folder contain all the lv2 plugins for the current user and will automatically be found by the lv2 hosts. When the ''make install'' step has been successfully performed plugin has been installed in the folder $HOME/.lv2/drumgizmo.lv2. This folder contain all the lv2 plugins for the current user and will automatically be found by the lv2 hosts.
  
-Now fire up your favorite DAV and everything should be dandy.+Now fire up your favorite DAW and everything should be dandy.
  
 =====Using===== =====Using=====
documentation/compiling_installing_-_linux.1487156316.txt.gz · Last modified: 2017/02/15 11:58 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0