This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:compiling_installing_-_linux [2016/07/12 11:25] – deva | documentation: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 | + | =====Install |
The dependencies needed are: | The dependencies needed are: | ||
- | * lv2-devel in at least version | + | * lv2 >= 1.0 (https:// |
- | * libx11-dev | + | * Xlib (for the UI) (https:// |
- | * libsndfile-devel in at least version | + | * sndfile >= 1.0.21 (http:// |
- | * zita-resampler-devel | + | |
- | * 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: | ||
< | < | ||
- | sudo apt-get install \ | + | sudo apt install \ |
build-essential \ | build-essential \ | ||
+ | autoconf \ | ||
+ | automake \ | ||
+ | libtool \ | ||
lv2-dev \ | lv2-dev \ | ||
xorg-dev \ | xorg-dev \ | ||
- | libsndfile1-dev | + | libsndfile1-dev |
- | libzita-resampler-dev \ | + | |
- | libexpat-devel | + | |
</ | </ | ||
+ | If you plan on compiling the command-line tool as well you will need the following dependencies as well: | ||
+ | < | ||
+ | sudo apt install \ | ||
+ | libjack-dev \ | ||
+ | libsmf-dev \ | ||
+ | libasound2-dev | ||
+ | </ | ||
=====Compile from tar-ball===== | =====Compile from tar-ball===== | ||
First download the latest source tar-ball from [[: | First download the latest source tar-ball from [[: | ||
- | In this example version 0.9.10 will be used. | + | In this example version 0.9.15 will be used. |
- | Unpack the source file by issuing the followng | + | Unpack the source file by issuing the following |
< | < | ||
- | tar xvzf drumgizmo-0.9.10.tar.gz | + | tar xvzf drumgizmo-0.9.15.tar.gz |
</ | </ | ||
- | This will produce a folder with the name '' | + | This will produce a folder with the name '' |
Now do the following to configure and compile the plugin: | Now do the following to configure and compile the plugin: | ||
< | < | ||
- | cd drumgizmo-0.9.10 | + | cd drumgizmo-0.9.15 |
- | ./configure --prefix=$PWD/ | + | ./configure --prefix=$PWD/ |
make | make | ||
make install | make install | ||
</ | </ | ||
+ | If you also want the command line tool, replace the '' | ||
=====Compile from git sources===== | =====Compile from git sources===== | ||
First clone the git sources as described [[: | First clone the git sources as described [[: | ||
Line 47: | Line 54: | ||
</ | </ | ||
- | Now install | + | If the git repository was already cloned earlier |
- | < | + | |
- | sudo apt-get install libcppunit-dev | + | |
- | </ | + | |
Now do the following to configure and compile the plugin: | Now do the following to configure and compile the plugin: | ||
< | < | ||
./ | ./ | ||
- | ./configure --prefix=$PWD/ | + | ./configure --prefix=$PWD/ |
make | make | ||
make install | make install | ||
</ | </ | ||
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 | + | It also requires libsndfile-devel in at least version 1.0.21. |
+ | If you also want the command line tool, replace the '' | ||
=====Install===== | =====Install===== | ||
- | When the '' | + | When the '' |
- | In this folder the install/ | + | |
- | In order to make it work with Ardour3, either copy this directory to the lv2 plugin dir (usually / | + | |
- | < | + | |
- | export LV2_PATH=XXXXX/ | + | |
- | </ | + | |
- | , where XXXXX is the path to the location where you extracted the drumgizmo sourcecode. | + | |
- | + | ||
- | **NOTE**: This will not be activated before you log out and back in again. | + | |
- | Now fire up Ardour | + | Now fire up your favorite DAW and everything should be dandy. |
=====Using===== | =====Using===== | ||
- | Add a midi track to Ardour | + | Add a midi track to Ardour and add the DrumGizmo plugin to this track. |
Open the GUI and select the drumkit and midimap to use. The drumkit is loaded in the background so it might take a while before it is fully ready to use. | Open the GUI and select the drumkit and midimap to use. The drumkit is loaded in the background so it might take a while before it is fully ready to use. | ||