Mathieu Bouchard wrote:
On Tue, 6 Jul 2010, James Dunn wrote:
Seems like I just had to install pkg-config. It now finds the imagemagick library but fails with a new error: videoV4L2.cpp:389:31: error: ‘fstat’ was not declared in this scope videoV4L2.cpp:394:27: error: ‘S_ISCHR’ was not declared in this scope
Try adding this line near the top :
#include <sys/stat.h>
mathieu beat me to it.. you may also need:
#include <linux/stat.h>