-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
49 lines (29 loc) · 1.85 KB
/
INSTALL.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
Clone the library:
$ git clone https://github.com/fdch/fd_lib.git
You will be able to load abstractions, but to use the external objects you'll need to compile them.
For this you'll first need to initialize the pd-lib-builder submodule. Skip this step if you have pd-lib-builder already (pass its path to config.sh)
$ cd fd_lib
$ git submodule init
$ git submodule update
-------------------------------------------------------------------------------
on Unix
-------------------------------------------------------------------------------
$ bash config.sh
$ make
$ make install
-------------------------------------------------------------------------------
on Windows:
-------------------------------------------------------------------------------
I basically used the same terminal to compile Pure Data and it works. So, check Pd's INSTALL.txt file for more information. If you have already done this, simply use the Mintty terminal (MYSYS2) and run a "Mingw-w64 64 bit" Shell (bash). I assume you are always on this shell emulator for the rest of this text.
Once you are on the shell emulator, run:
$ bash config.sh
$ make
You must indicate the path to pd's <bin> directory, as well as the <src> directory to include.
pdbinpath=/c/Users/.../pd-0.50-0/bin PDINCLUDEDIR=/c/Users/.../src
You might also need to determine which architecture, I do this by adding the following lines to the command above
CFLAGS= -march=x86-64 -Iinclude
The whole command looks like this:
$ make pdbinpath=/c/Users/.../pd-0.50-0/bin PDINCLUDEDIR=/c/Users/.../src CFLAGS=-march=x86-64 -Iinclude
Finally, you can install the library:
$ make install
I recommend the usual library installation in %AppData%, which is the default. If you locate the library someplace else, please also place a [declare -path /path/to/fd_lib] in your patches or just ADD the PATH to fd_lib in File>Preferences>Path