Use

Prerequisites

Some linux distributions require a little bit of configuration to grant users the ability to use peripherals. See the following

Peripheral Configuration

By default very little if anything in the way of kernel modules are enabled. You’ll next need to Enable the peripherals you want to use.

Building Programmes

To use librpip in your programs you need to include the header file and link with the library. The library currently can only be statically linked (during compile time). If you have installed librpip into the default location then include like this:

#include <librpip.h>

and link to the library with your compiler by adding this to your list of libraries:

-lrpip

If you have installed librpip somewhere else, you’ll need ascertain how to inform the compiler and linker where everything is.

In the source distribution there are several examples (in ./src/examples/*). Check these out not only for compiler usage, but also for usage of the library itself.

Although librpip creates a shared object for dynamic (run time) linking, it is not loaded as a library by linux (by design) since the library is too immature IMHO. Version 1.x.x of the library will be properly setup for dynamic linking as everything will have stabilised by then. You are free to experiment with dynamic linking but do treat it as an experiment.