Re: Error compiling with OpenCV (xfeatures2d.h)

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Error-compiling-with-OpenCV-xfeatures2d-h-tp508p510.html

Hello,

I've just updated rtabmap library to support OpenCV 3 (https://github.com/introlab/rtabmap/commit/6fe1e421816231f1f1a9345a1fe009975d43554b). You should build OpenCV 3 with opencv_contrib modules (particularly xfeatures2d). After rebuilding/installing the updated rtabmap library, rtabmap_ros should be able to build (make sure to update rtabmap_ros too to have the latest fix when there are multiple OpenCV installed).

cheers,
Mathieu