3 title: Installing the binder on a desktop
5 https://git.automotivelinux.org/src/app-framework-binder/plain/docs/afb-desktop-package.md?h=master
8 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/apis_services/master/app-framework-binder-developer-guides-api-services-book.yml -->
10 # Desktop packages for binder development
12 Packages of the ***binder*** (afb-daemon)exist
13 for common desktop linux distributions.
20 Installing the development package of the ***binder***
21 allows to write ***bindings*** that runs on the desktop
22 computer of the developer.
24 It is very convenient to quickly write and debug a binding.
26 ## Retrieving compiling option with pkg-config
28 The ***binder*** afb-daemon provides a configuration
29 file for **pkg-config**.
33 pkg-config --cflags afb-daemon
36 Print flags use for compilation:
39 $ pkg-config --cflags afb-daemon
40 -I/opt/local/include -I/usr/include/json-c
43 For linking, you should use
46 $ pkg-config --libs afb-daemon
50 It automatically includes the dependency to json-c.
51 This is activated through **Requires** keyword in pkg-config.