1 | initial version |
What is your OS and build target? You can get the error in case of building for Android. SURF is non-free algorithm and it is a part of nonfree module. This module is not linked in opencv_java.so due legal issues. You can compile OpenCV for Android with nonfree from the latest stable version tag (2.4.3.1 for now) from git.