Sorry for my lame question, I'm still new to OpenCV. I'm trying to compile OpenCV 3.1 with SURF/SIFT support from the git master. It looks like there is no way I can access these algorithms from Java so after some research I decided to follow recommendations as stated in this article.
Unfortunately no luck - the make goes well but I'm getting linker error at the very last step as follows:
[ 80%] Linking CXX shared library ../../lib/libopencv_java310.dylib Undefined symbols for architecture x86_64: "cv::xfeatures2d::SIFT::create(int, int, double, double, double)", referenced from: cv::javaFeatureDetector::create(int) in features2d.cpp.o cv::javaDescriptorExtractor::create(int) in features2d.cpp.o "cv::xfeatures2d::SURF::create(double, int, int, bool, bool)", referenced from: cv::javaFeatureDetector::create(int) in features2d.cpp.o cv::javaDescriptorExtractor::create(int) in features2d.cpp.o
Any ideas how to fix this would be very much appreciated.