laxnpander / OpenREALM

OpenREALM is a pipeline for real-time aerial mapping utilizing visual SLAM and 3D reconstruction frameworks.
GNU Lesser General Public License v2.1
453 stars 117 forks source link

Add Support for Ubuntu 20.04 #32

Closed zthorson closed 3 years ago

zthorson commented 3 years ago

This patch will allow building and running the application on Ubuntu 20.04 using:

OpenCV 4.2.0 GDAL 3.0.4 ROS1 Noetic

laxnpander commented 3 years ago

If Travis is happy, then I am happy.

laxnpander commented 3 years ago

@zthorson Ah, one thing: I replaced all the GDAL conditions with preprocessor ones:

#if GDAL_VERSION_MAJOR >= 3
  {
    oSRS.SetAxisMappingStrategy(OAMS_TRADITIONAL_GIS_ORDER);
  }
#endif

SetAxisMappingStrategy(...) doest not exist in my GDAL version (18.04 with GDAL 2.2.3)

Sidenote: I also changed the naming convention for members to m_... in my latest dev.