diff --git a/CMakeLists.txt b/CMakeLists.txt index 08a8af468e..efc9480f0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ endif() LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules) -find_package(OpenCV 3.0 QUIET) +find_package(OpenCV 4.0 QUIET) if(NOT OpenCV_FOUND) find_package(OpenCV 2.4.3 QUIET) if(NOT OpenCV_FOUND) diff --git a/Examples/Monocular/mono_euroc.cc b/Examples/Monocular/mono_euroc.cc index 4bcb90f170..045cd34dcd 100644 --- a/Examples/Monocular/mono_euroc.cc +++ b/Examples/Monocular/mono_euroc.cc @@ -70,7 +70,8 @@ int main(int argc, char **argv) for(int ni=0; ni #include diff --git a/include/LoopClosing.h b/include/LoopClosing.h index 7eb0416b15..d74bdd03c9 100644 --- a/include/LoopClosing.h +++ b/include/LoopClosing.h @@ -46,8 +46,11 @@ class LoopClosing public: typedef pair,int> ConsistentGroup; + // typedef map, + // Eigen::aligned_allocator > > KeyFrameAndPose; + typedef map, - Eigen::aligned_allocator > > KeyFrameAndPose; + Eigen::aligned_allocator > > KeyFrameAndPose; public: diff --git a/include/ORBextractor.h b/include/ORBextractor.h index 66e8e7a547..b6bc110396 100644 --- a/include/ORBextractor.h +++ b/include/ORBextractor.h @@ -23,7 +23,8 @@ #include #include -#include +//#include //opencv3 +#include namespace ORB_SLAM2