Hey. I'm trying to build OpenCV with support for SURF_CUDA. I figured I only needed to enable OPENCV_ENABLE_NONFREE. However when I went to test one of the samples, I saw that it didn't work because HAVE_OPENCV_XFEATURES2D was not defined. I tried again by defining HAVE_opencv_xfeatures2d and went to check cvconfig.h, but the macro was still not defined.
What do I need to do to have this class built into the library?
Thanks.