From 3e9cff40534c4c9f2c3f58914315d54ed194b239 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Fri, 1 May 2020 09:51:54 -0400 Subject: [PATCH] fixed build with opencv 4.3 --- corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h b/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h index 0f4607fb..b67ed824 100644 --- a/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h +++ b/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h @@ -37,6 +37,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #if CV_MAJOR_VERSION >= 4 + +#if CV_MINOR_VERSION >= 3 +#include +#endif + // Opencv4 doesn't expose those functions below anymore, we should recopy all of them! int cvRodrigues2( const CvMat* src, CvMat* dst, CvMat* jacobian CV_DEFAULT(0)) {