-
Notifications
You must be signed in to change notification settings - Fork 10
/
BUILDING
33 lines (22 loc) · 788 Bytes
/
BUILDING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
You need the following libraries:
GD2 (http://www.libgd.org/)
libpng (http://www.libpng.org/pub/png/libpng.html)
libsndfile (http://www.mega-nerd.com/libsndfile/)
If you're using Mac OS X you can install the libraries with MacPorts (http://www.macports.org/).
>> sudo port install libsndfile
>> sudo port install gd2
You can also use Homebrew (http://mxcl.github.com/homebrew/) on Mac OS X:
>> sudo brew install libsndfile
>> sudo brew install gd
You also need the Cmake build system installed.
(http://www.cmake.org/)
Building:
- Create your build directory and change into it:
>> mkdir build
>> cd build
- Run the Cmake script, it will (hopefully) find your libraries:
>> cmake ..
- Now you can compile waveformgen:
>> make
- And even install the binary:
>> sudo make install