raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.17k stars 4.69k forks source link

Updated code to be compatible with newer C++ standards #1098

Open DragonflyRobotics opened 7 months ago

DragonflyRobotics commented 7 months ago

Updated code to compile on GCC/G++ 11.4.0, OpenCV 3.3.1, CMake 3.22.1, Pangolin 0.8.0, Ubuntu 22.04.3 Jammy, and ROS2 Iron.

Primarily, the change is just a missing include in several of the files. There is also a small change in the primary CMakeLists.txt file to allow it to properly find OpenCV compiled and installed using make.