1 | initial version |
It seems the first error is because vector isn't included
#include <vector>
For the compare function, I can't find it in the documentation. Is it an OpenCV type (like FeatureDetector)? In that case, there is no compare function. Maybe you want to use create instead?
For the SIFT part, see the doc of non-free module (and don't forget to include the non-free header!
I hope this helps.