summaryrefslogtreecommitdiff
path: root/BUILD_C++.txt
blob: db332da50421d688a5d4822052152c89b8c1754d (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

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
	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
	http://www.portaudio.com

Build orkbasecxx on the command line:

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

Build orkaudio on the command line:

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

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