-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuilding.txt
99 lines (53 loc) · 2.7 KB
/
building.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Building CDP.
This assumes general familiarity with the command line, and with
standard build tools.
All platforms: the CDP programs use the CMake system for building makefiles:
https://cmake.org/install/
Windows: the Windows version of CMake is required: this includes the
required Generator to create MinGW Makefiles.
It is included in a full installation of Visual Studio.
Otherwise, it is available from the main cmake site: https://cmake.org/download/.
Mac users may prefer to use homebrew. Once installed, use:
brew install cmake
Windows: install the Msys/MinGW linux-like environment.
see: https://sourceforge.net/projects/mingwbundle/
You will also need the Directx9 SDK dx9mgw.zip for MinGW, provided in the /externals directory.
(from https://download.tuxfamily.org/allegro/)
Currently we only build 32bit CDP binaries, under this older version of MinGW.
Git: this is not needed simply to build the programs,
but recommended if you want to pick up updates, bugfixes, etc, easily:
https://gitforwindows.org/
MacOS: install Xcode along with the command line tools. This should also install Git.
Otherwise, see: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
install CMake (see above).
Linux: we assume everything you need is already present!
Currently, one or two third-party libraries need to be built
before commencing the main CDP build.
1: aaiolib (Linux and MacOS): emulation of Windows keyboard functions (getch etc)
unpack, then ./configure; sudo make install
2: portaudio (for the CDP play/record programs: paplay, pvplay, recsf, listaudevs).
NB: for Windows ASIO support, the Steinberg dev tools ASIOSDK2 is also needed.
see the applicable "pa...build.txt" under the externals directory.
To Build the CDP programs
The canonical approach with CMake is to create a top-level "build" directory
(the directory containing the top-level "CMakeLists.txt" )
then:
MinGW Only:
cd build
cmake -G "MinGW Makefiles" ..
Otherwise:
cd build
cmake ..
(this creates Makefiles for each program and group of programs)
then, to build the whole package:
make
MinGW:
mingw32-make
All compiled programs will be written to the top-level Release/ directory.
CDP Developer mailing list
We have recently created this to support all CDP-oriented builders and developers,
be they focussed on existing code or on new projects.
To subscribe, go to:
http://rwdobson.com/mailman/listinfo/cdp-dev_rwdobson.com
and fill in the form as indicated.
Information on any updates to the github repositories will be posted to this list.