Video Frame Grabbing

Could someone point me in the right direction please. I’m trying to use Derek Molloys boneCV files on the BBB. When I run the build script it throws errors, which seem to be linked to there being no libv4l2.pc library. V4L2 is installed but a “Find libv4l2.pc” finds nothing. It also refers to setting pkg_config_path to point to this library.