Missing include. There is still (at least) 1 compilation error left, but it is in opencv (it seems that cvconfig.h does not get installed). Thanks arnaudgelas.