Chris@2: Chris@2: To compile from source Chris@2: ---------------------- Chris@2: Chris@2: First, please consider getting one of the ready-to-run binary Chris@2: distributions available from http://www.omras2.org/SonicAnnotator . Chris@2: Chris@2: The following additional libraries are required or optional when Chris@2: building Sonic Annotator: Chris@2: Chris@2: REQUIRED Vamp Plugin SDK http://www.vamp-plugins.org/ Chris@2: Chris@2: REQUIRED Qt4 Free Edition http://www.trolltech.com/ Chris@2: REQUIRED libsndfile http://www.mega-nerd.com/libsndfile/ Chris@2: REQUIRED libsamplerate http://www.mega-nerd.com/SRC/ Chris@2: REQUIRED FFTW3 http://www.fftw.org/ Chris@2: REQUIRED Redland RDF libraries http://librdf.org/ Chris@2: Chris@2: Optional MAD mp3 decoder http://www.underbit.com/products/mad/ Chris@2: Optional Oggz and fishsound http://www.annodex.net/software/libraries.html Chris@2: Chris@2: The Redland RDF libraries include the Raptor RDF parser library, Chris@2: Rasqal RDF query library, and librdf, the Redland RDF datastore (which Chris@2: depends on both of those). Sonic Annotator uses Rasqal and Redland Chris@2: directly, and so indirectly also requires Raptor. For best Chris@2: performance it's strongly recommended that you build with Redland Chris@2: 1.0.8 or newer. Chris@2: Chris@2: If you happen to be using a Debian-based Linux, you probably want to Chris@24: apt-get install the following packages: libqt4-dev libsndfile1-dev \ Chris@24: libsamplerate0-dev fftw3-dev libmad0-dev liboggz1-dev \ Chris@24: libfishsound1-dev liblrdf0-dev librdf0-dev libbz2-dev libasound2-dev . Chris@2: Chris@2: If you are building on a Unix-like system that supports pkg-config and Chris@2: uses it for all appropriate libraries (such as a modern Linux Chris@2: distribution) then you should be able to just run "qmake" (being Chris@2: careful to ensure it is the Qt 4 version of qmake you are running, and Chris@2: not a Qt 3 version). Chris@2: Chris@2: If you do not have pkg-config, you should first edit the file sv.prf Chris@2: and comment out any of the optional HAVE_* lines (in the section Chris@2: starting "If you don't have pkg-config...") for library dependencies Chris@2: that you aren't using. Then run the Qt 4 "qmake" command. This will Chris@2: create the proper Makefile. Chris@2: Chris@2: (If you're on the Mac and you have Qt3 installed as well, you must Chris@2: export QMAKESPEC=macx-g++ before you do this, or Qt will get confused.) Chris@2: Chris@2: Then type "make". The program will then either build, or not build. Chris@2: If it builds, the result will be a binary file in Chris@2: runner/sonic-annotator (on Linux) or runner/release/Sonic Chris@2: Annotator.exe (on Win32), or a bundle in runner/Sonic Annotator.app. Chris@2: There should be nothing to install apart from the executable itself Chris@2: and any of the above listed third-party shared libraries that are not Chris@2: already installed. Chris@2: Chris@2: Chris@2: Qt Library Version Requirements Chris@2: ------------------------------- Chris@2: Chris@2: Sonic Annotator requires Qt version 4.3 or newer. It can not be Chris@2: built with Qt3 or with Qt 4.0.x, 4.1.x, or 4.2.x. Chris@2: Chris@2: