Mercurial > hg > aimc
comparison wiki/Building.wiki @ 403:4bf09e7d8e15
Edited wiki page Building through web user interface.
author | tomwalters |
---|---|
date | Tue, 19 Oct 2010 06:29:13 +0000 |
parents | db6d540cf541 |
children |
comparison
equal
deleted
inserted
replaced
402:69466da9745e | 403:4bf09e7d8e15 |
---|---|
4 = Introduction = | 4 = Introduction = |
5 | 5 |
6 AIM-C is built using the [http://www.scons.org/ SCons] build system. SCons is multiplatform, and is based on Python. | 6 AIM-C is built using the [http://www.scons.org/ SCons] build system. SCons is multiplatform, and is based on Python. |
7 | 7 |
8 = Build Environment = | 8 = Build Environment = |
9 One of the major requirements of AIM-C is that it is written, as far as possible, in standard C++ (including some heavy dependence on the standard library). This means that (in theory at least) it will compile under any reasonably sane C++ compiler. In practice, so far development has taken place mainly using GCC on Mac OS 10.6. | 9 One of the major requirements of AIM-C is that it is written, as far as possible, in standard C++ (including some heavy dependence on the standard template library). This means that (in theory at least) it will compile under any reasonably sane C++ compiler. In practice, so far development has taken place mainly using GCC on Mac OS 10.6. |
10 | 10 |
11 = External Dependencies = | 11 = External Dependencies = |
12 None as yet. | 12 Current dependencies are [http://www.mega-nerd.com/libsndfile/ libsndfile] and [http://cairographics.org cairo] for audio input and graphics output respectively. [http://www.portaudio.com/ PortAudio] is a requirement for live audio input. This will be ported over soon. The boost c++ extensions are also required for the module that adds noise to the input. |
13 | 13 |
14 The project uses [http://code.jellycan.com/simpleini/ simpleini] version 4.12 for storing, parsing and writing out parameters files, but this file (and the UTF support code that it requires) is included in the source repository. | 14 On Ubuntu, the necessary build tools and dependencies can be installed using the following command. |
15 | 15 |
16 The original command-line version of AIM-C had dependencies on | 16 {{{ |
17 * [http://www.mega-nerd.com/libsndfile/ libsndfile] for audio file input. | 17 sudo apt-get install libsndfile-dev cairo-dev |
18 * [http://www.portaudio.com/ PortAudio] for live audio input. | 18 }}} |
19 * [http://www.fftw.org/ FFTW3] for FFTs | |
20 | 19 |
21 The libsndfile and portaudio input classes will eventually be ported over to the current version. The dependence on FFTW will likely be dropped, as the FIR gammatone filterbank from the original version is the only filterbank that uses FFT routines, and a basic FFT will likely be fast enough in place of FFTW. | 20 The project also uses [http://code.jellycan.com/simpleini/ simpleini] version 4.12 for storing, parsing and writing out parameters files, but this file (and the UTF support code that it requires) is included in the source repository. |
22 | 21 |
23 = Build Tools = | 22 = Build Tools = |
24 == Building == | 23 == Building == |
25 | 24 |
26 Assuming SCons is installed, to build the source tree simply navigate to the top level of the source tree (where the SConstruct file resides) and issue the command: | 25 Assuming SCons is installed, to build the source tree simply navigate to the top level of the source tree (where the SConstruct file resides) and issue the command: |