Error in "BOWImgDescriptorExtractor::setVocabulary"

hmm, cant find any ‘setTo()’ there. and the error is about assigning something wrong as an ‘OutputArray’ …

will try actual code tomorrow!

if you can debug it, try to get a stacktrace (bt) from gdb …