This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:compiling_installing_-_linux [2016/10/30 09:04] – deva | documentation:compiling_installing_-_linux [2020/08/17 21:57] – 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 dependecies===== | ||
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-dev | + | |
</ | </ | ||
+ | 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.11 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.11.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.11 | + | 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 | ||
Line 62: | Line 66: | ||
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 and libexpat-devel. | ||
+ | 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 DAV 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. | ||