wiki:Build

Build

This page lists the instructions to build the aubio library and tools. See the Download page to fetch the latest version of pre-compiled packages and source code.

As much as possible, using the latest source code version should be preferred to using the latest release.

Dependencies

aubio is written in C. The current version of aubio depends on:

  • libsndfile, the sound file access library from Erik de Castro Lopo
  • libsamplerate, the re-sampling library, also from Erik
  • FFTW, the Fastest Fourier Transform of the West, from the Steven G. Johnson et al. at MIT

The following dependencies are optional:

  • JACK, Jack Audio Connection Kit, for real-time audio input/output on linux and macosx
  • ALSA, for midi output from aubionotes
  • Swig, to build modules for languages supported by SWIG (perl, java and many more)
  • Python, to build and use the python scripts provided in the python directory.

Note: on a debian system, the required dependencies can be obtained using:

# apt-get build-dep aubio

Compiling

Once you have all the dependencies installed, you should be able to run the following from within the aubio source directory:

./bootstrap # optional from a release tarball
./configure
make

Several configurations options are available. See:

./configure --help

If you need to install aubio on your system, run the following as root:

make install
Last modified 10 years ago Last modified on Mar 29, 2008, 1:13:12 PM