forked from voiceip/oreka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD_C++.txt
57 lines (44 loc) · 1.35 KB
/
BUILD_C++.txt
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
This file describes how to build the C++ part of the oreka capture system
For now, building on a Ubuntu 18.04LTS system is detailed. More platforms will follow later.
=====================================
Build on Linux
Prerequisites:
install these packages first using your linux distribution packaging system
* log4cxx
* libapr
* libpcap
* boost
* xerces-c
* libsndfile
Debian/Ubuntu specific
* sudo apt-get install libboost-dev
* sudo apt-get install libapr1-dev
* sudo apt-get install liblog4cxx-dev
* sudo apt-get install libpcap-dev
* sudo apt-get install libxerces-c-dev
* sudo apt-get install libsndfile1-dev
* sudo apt-get install libspeex-dev
Download and build opus and silk libraries
* git clone https://github.com/OrecX/dependencies.git
* tar -xf dependencies/opus-1.2.1.tar.gz
* cd opus-1.2.1
* ./configure --prefix=/opt/opus/
* make CFLAGS="-fPIC -msse4.1"
* sudo make install
* sudo cp /opt/opus/lib/libopus.a /opt/opus/lib/libopusstatic.a
* cd ..
* tar -xf dependencies/silk.tgz -C /opt/
* cd /opt/silk/SILKCodec/SILK_SDK_SRC_FIX/
* sudo make clean lib
Build orkbasecxx on the command line:
* Go to the root directory of the orkbasecxx
* autoreconf -i
* ./configure CXX=g++
* make
* sudo make install
Build orkaudio on the command line:
* Go to the root directory of the orkaudio
* autoreconf -i
* ./configure CXX=g++
* make
* sudo make install