Donnerstag, 10. September 2015

How to build Ardour from Git

Foreword

Before starting Please consider buying the pre-built binaries from the Ardour website instead of building it from source to support the Ardour project: http://ardour.org/download.html

The Ardour website states that you should these modified versions of the following libraries:

lrdf            0.5.0   http://ardour.org/files/deps/liblrdf-0.5.0.tar.gz

I found that Ardour also runs with the libraries from the Ubuntu Studio 15.04 repositories, but I experienced some crashes and at one point I couldn't open a project anymore. You should therefore really use these versions. However, for simplicity, this guide uses the repository versions.

Acquiring Necessary Files

Install the prerequesites and accept the prompt for installation of further dependencies:

sudo apt-get install git libboost-dev libasound2-dev libglibmm-2.4-dev libsndfile1-dev liblo-dev libtag1-dev vamp-plugin-sdk librubberband-dev libfftw3-dev libaubio-dev libxml2-dev libcppunit-dev libcwiid-dev libjack-jackd2-dev liblrdf0-dev libsamplerate0-dev lv2-dev libserd-dev libsord-dev liblilv-dev libsratom-dev libsuil-dev libgtkmm-2.4-dev libraptor1-dev libcurl4-gnutls-dev

Go to the directory where you would like to download the Ardour source code to. I personally use ~/src/ for this.

mkdir -p ~/src
cd ~/src

Now download the Ardour source code from the official git repository.

git clone https://github.com/Ardour/ardour.git

Go to the source folder.

cd ardour

I prefer using a certain release version. In this case I would like to use the 4.2 version of ardour so I check out the specific version tag.

git checkout 4.2

Building Ardour

The next step is to actually configure the build environment.

./waf configure

The end of the configure output should read "'configure' finished successfully (5.649s)". If not some dependency could not be resolved. I tested this on Ubuntu Studio 15.04 so this should not happen if you're using it, too.

Now build the source code. Replace the number behind -j with your cpu core count to speed up the build process. 

./waf -j4

Installation and Execution

After the successful build you can deploy the application. 

sudo ./waf install

You can start Ardour by executing the ardev binary in the gtk2_ardour folder.

cd gtk2_ardour
./ardev

Have fun using your self-compiled Ardour!


Other articles that might be interesting for you:

Keine Kommentare:

Kommentar veröffentlichen