annotate INSTALL.txt @ 350:c053d985ec8c

* Add basic build files
author Chris Cannam
date Wed, 22 Sep 2010 11:12:26 +0100
parents
children 58b7e3893963
rev   line source
Chris@350 1
Chris@350 2 To compile from source
Chris@350 3 ----------------------
Chris@350 4
Chris@350 5 This file provides various instructions useful when compiling the SV
Chris@350 6 libraries from source, but it doesn't have a complete recipe for any
Chris@350 7 one platform -- there are too many variables. However, you can find a
Chris@350 8 recipe for one platform (Ubuntu Linux) in the file INSTALL.ubuntu.
Chris@350 9
Chris@350 10 To build, run
Chris@350 11
Chris@350 12 $ ./configure && make
Chris@350 13
Chris@350 14 The following additional libraries are required or optional when
Chris@350 15 building the SV core libraries:
Chris@350 16
Chris@350 17 REQUIRED Qt v4.4 or newer http://qt.nokia.com/
Chris@350 18 REQUIRED Vamp Plugin SDK v2.x http://www.vamp-plugins.org/
Chris@350 19 REQUIRED Rubber Band Library http://www.breakfastquay.com/rubberband/
Chris@350 20 REQUIRED libsndfile http://www.mega-nerd.com/libsndfile/
Chris@350 21 REQUIRED libsamplerate http://www.mega-nerd.com/SRC/
Chris@350 22 REQUIRED FFTW3 http://www.fftw.org/
Chris@350 23 REQUIRED bzip2 library http://www.bzip.org/
Chris@350 24 REQUIRED Redland RDF libraries http://librdf.org/
Chris@350 25
Chris@350 26 Optional MAD mp3 decoder http://www.underbit.com/products/mad/
Chris@350 27 Optional Oggz and fishsound http://www.annodex.net/software/libraries.html
Chris@350 28 Optional liblo OSC library http://www.plugin.org.uk/liblo/
Chris@350 29
Chris@350 30 The Redland RDF libraries include the Raptor RDF parser library,
Chris@350 31 Rasqal RDF query library, and librdf, the Redland RDF datastore (which
Chris@350 32 depends on both of those). The SV libraries require all of these.
Chris@350 33
Chris@350 34 If you are going to build the rest of the SV libraries, you will also
Chris@350 35 need one or more of:
Chris@350 36
Chris@350 37 Optional JACK http://www.jackaudio.org/
Chris@350 38 Optional PortAudio v19 http://www.portaudio.com/
Chris@350 39 Optional PulseAudio http://www.pulseaudio.org/
Chris@350 40
Chris@350 41 Although JACK, PortAudio, and PulseAudio are individually optional,
Chris@350 42 you will need to have one or the other of them in order to get any
Chris@350 43 audio playback. Usually JACK is preferred on Linux, with PulseAudio
Chris@350 44 as a backup, and PortAudio is used elsewhere.
Chris@350 45
Chris@350 46 On Linux, you will need the ALSA libraries (used for MIDI).
Chris@350 47
Chris@350 48 If you happen to be using a Debian-based Linux, you probably want to
Chris@350 49 apt-get install the following packages: libqt4-dev libsndfile1-dev
Chris@350 50 libsamplerate0-dev fftw3-dev libbz2-dev libjack-dev libmad0-dev
Chris@350 51 liboggz1-dev libfishsound1-dev libasound2-dev liblo0-dev liblrdf0-dev
Chris@350 52 librdf0-dev .
Chris@350 53