summaryrefslogtreecommitdiff
path: root/BUILD_C++.txt
blob: 9bac145c5d72b29ca1eac67b7789405a3b2074e8 (plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

This file describes how to build the C++ part of the oreka capture system

=====================================
Build on Linux 

Prerequisites:

install these packages first using your linux distribution packaging system 
or download sources tarballs from the listed websites.

* log4cxx 0.9.7 - It is important to use this precise version for now
	http://logging.apache.org/log4cxx/
* ACE 5.4.2
	http://www.cs.wustl.edu/~schmidt/ACE.html
* libpcap 0.7.2 (only needed if you want to do VoIP recording)
	http://www.tcpdump.org/
* boost 1.31.0
	http://www.boost.org
* xerces-c 2.6
	http://xml.apache.org/xerces-c/
* libsndfile 1.0.10
	http://www.mega-nerd.com/libsndfile/
* portaudio v18 (only needed if you want to do sound device recording)
	http://www.portaudio.com

Redhat/Centos specific

* yum install boost-devel
* yum install libpcap
* Download orkaudio-0.4-centos4.2-i386-rpms.tar from sourceforge
* rpm -i xercesc-2.7.0-1.i386.rpm
* rpm -i ACE-5.4.8-1.i386.rpm
* rpm -i log4cxx-0.9.7-1.i386.rpm
* rpm -i libsndfile-1.0.13-1.i386.rpm

Debian/Ubuntu specific

* apt-get install libace-dev
* apt-get install libboost-dev
* apt-get install liblog4cpp-dev
* apt-get install libpcap0.7-dev
* apt-get install libxerces26-dev
* apt-get install libsndfile1-dev

Build orkbasecxx on the command line:

* Go to the root directory of the orkbasecxx
* libtoolize --force
* automake -a
* make -f Makefile.cvs
* ./configure
* make
* make install

Build orkaudio on the command line:

* Go to the root directory of the orkaudio
* libtoolize --force
* automake -a
* make -f Makefile.cvs
* ./configure
* make
* make install

For debug binary: modify above as follows
* ./configure --enable-debug=full
* CXXFLAGS="-O0 -g3"
* make -e

Build using Kdevelop

* Project/import existing project (libtool based c++ project)

=====================================
Build on Windows/MSVC6 (SP6)

* Download the c++ win32 external library pack and unpack into c:\devExt
	(if you change this  location, you need to change all references in the dsp files)
* Load orkaudio\OrkAudio.dsw into MSVC
* Select orkbase as active project, build
* Select orkaudio as active project, build
* Select rtpmixer as active project, build
* Select desired capture plugin, build