mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
t/slam: Only warn for incompatible OpenCV
This commit is contained in:
parent
78e8d3177c
commit
ec5b5f9e1d
|
@ -53,7 +53,7 @@ using cv::UMatUsageFlags;
|
|||
#define USING_OPENCV_3_3_1 (CV_VERSION_MAJOR == 3 && CV_VERSION_MINOR == 3 && CV_VERSION_REVISION == 1)
|
||||
|
||||
#if defined(XRT_HAVE_KIMERA_SLAM) && !USING_OPENCV_3_3_1
|
||||
#error "Kimera-VIO uses OpenCV 3.3.1, use that to prevent conflicts"
|
||||
#warning "Kimera-VIO uses OpenCV 3.3.1, use that to prevent conflicts"
|
||||
#endif
|
||||
|
||||
// TODO: These defs should make OpenCV 4 work but it wasn't tested against a
|
||||
|
|
Loading…
Reference in a new issue