Install libv4l-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libv4l-dev
Description:
Collection of video4linux support libraries (development files)
libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. . libv4lconvert offers functions to convert from any (known) pixelformat to BGR24, RGB24, YUV420 and YVU420. . libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not). . libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary. . This package contains the development files.
Homepage: https://linuxtv.org/downloads/v4l-utils/
Version: 1.14.2-1
Section: libdevel