opencv, compiling xfeatures2d
<p>I'm trying to add extra modules for opencv from <a href="https://github.com/Itseez/opencv_contrib" rel="nofollow">https://github.com/Itseez/opencv_contrib</a> . I followed instructions an after generate, i got this:</p>

<p>OpenCV modules:</p>

<p>To be built:   core flann imgproc highgui features2d calib3d aruco video bgsegm ml objdetect ocl bioinspired ccalib legacy photo gpu nonfree contrib face text datasets dnn dpm fuzzy line_descriptor plot python reg rgbd saliency stereo stitching structured_light superres surface_matching tracking ts videostab xobjdetect photo</p>

<p>Disabled:                    world contrib_world ximgproc</p>

<p><strong>Disabled by dependency:      optflow xfeatures2d</strong></p>

<p>Unavailable:                 androidcamera dynamicuda java viz cvv hdf matlab sfm</p>

<p>I need xfeatures2d, how can i fix it? I'm on OS X</p>