fatal error: libv4l2.h: No such file or directory compilation terminated.

sudo apt-get install libv4l-dev v4l-utils qv4l2 v4l2ucp