Building and Debugging Aravis

Aravis is built using meson build system. Release tarballs are stored on https://github.com/AravisProject/aravis/releases. You can build and install Aravis like any other meson project:


meson build
cd build
ninja
ninja install
      

The build can be configured at any time using meson configure in the build directory. meson configure invoked without any other argument will show the configuration options.

On some platforms (like Ubuntu), you may have to configure the dynamic linker (ld) to let it know where the aravis libraries are installed, and run ldconfig as root in order to update ld cache

The ARV_DEBUG environment variable can be set to a comma separated list of debugging categories, which will make Aravis print out different types of debugging informations to the console. A debug level can also be specified, using a number from 0 (none) to 3 (log) separated from the category name by a colon. For example, the following command before running an Aravis based application will make Aravis print out all stream and device related informations:


export ARV_DEBUG=stream:3,device:3
      

Available categories are: