Skip to main content

Install GeographicLib

GeographicLib is a C++ library for geodesic computations, coordinate conversions, and geographic projections — commonly used for GPS/GNSS data processing and localization.

Dependencies

sudo apt install cmake libeigen3-dev

Build and Install

git clone https://github.com/geographiclib/geographiclib.git
cd geographiclib
mkdir build
cd build
cmake ..
cmake --build . -j$(nproc)
sudo cmake --install .