Usage

Installation

The afb-helpers library is available as a package for the redpesk supported linux distributions.

To install the native package please refer to this chapter in the redpesk documentation to install the redpesk repository for your distribution.

Then use your package manager to install the library.

OpenSuse

sudo zypper ref
sudo zypper install afb-libhelpers-devel

Fedora

sudo dnf ref
sudo dnf install afb-libhelpers-devel

Ubuntu/Debian

sudo apt-get update
sudo apt-get install afb-libhelpers-dev

Add the afb-helpers as a static library to your binding

In your config.cmake file, add a dependency to the controller library, i.e:

set(PKG_REQUIRED_LIST
	json-c
	afb-binding
	afb-libhelpers --> this is the afb-helpers library dependency name.
)

Or you can also use the FIND_PACKAGE CMake command to add it if you don’t use the afb-cmake-modules