-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
61 lines (34 loc) · 1.49 KB
/
INSTALL
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
///////////////////////////////////////////////////////////////////////////////
//
// $Id: INSTALL 757 2013-09-08 01:04:43Z weegreenblobbie $
//
///////////////////////////////////////////////////////////////////////////////
Always check the Nsound User's Guide for the latest information on how to build
and install Nsound:
http://nsound.sourceforge.net/users_guide/index.html
Nsound has the following dependencies for build:
1) Python (www.python.org) $ apt-get install python
2) Scons (www.scons.org) $ apt-get install scons
Optional packages for plotting:
3) Python Numpy (for Matplotlib)
4) Python Matplotlib (Pylab)
How to build the Nsound C++ package on Linux or Mac:
1) Uncompress the package:
[~]$ tar xfz nsound-A.B.C.tar.gz
2) Execute Scons
[~]$ cd nsound-A.B.C
[nsound-A.B.C]$ scons
To compile with debug flags and no optimizations for debugging:
[nsound-A.B.C]$ CXXFLAGS=-g scons
To compile with optimizations:
[nsound-A.B.C]$ CXXFLAGS="-fno-strict-aliasing -fwrapv -O2" scons
How to build the Nsound package on windows:
Please read _WINDOWS_README.txt.
How to build the Python Nsound package on Linux or Mac:
1) Uncompress the package:
[~]$ tar xfz nsound-A.B.C.tar.gz
2) Execute Scons to generate setup.py
[~]$ cd nsound-A.B.C
[nsound-A.B.C]$ scons setup.py
3) Execute the Python disttools builder
[nsound-A.B.C]$ sudo python setup.py install