2 title: Installing the binder on a desktop
5 Packages of the ***binder*** (afb-daemon)exist
6 for common desktop linux distributions.
13 Installing the development package of the ***binder***
14 allows to write ***bindings*** that runs on the desktop
15 computer of the developer.
17 It is very convenient to quickly write and debug a binding.
19 ## Retrieving compiling option with pkg-config
21 The ***binder*** afb-daemon provides a configuration
22 file for **pkg-config**.
26 pkg-config --cflags afb-daemon
29 Print flags use for compilation:
32 $ pkg-config --cflags afb-daemon
33 -I/opt/local/include -I/usr/include/json-c
36 For linking, you should use
39 $ pkg-config --libs afb-daemon
43 It automatically includes the dependency to json-c.
44 This is activated through **Requires** keyword in pkg-config.