Gnss monitor: Difference between revisions
From Rsewiki
(→XKB) |
|||
| Line 12: | Line 12: | ||
or | or | ||
sudo apt install python3-geographiclib | sudo apt install python3-geographiclib | ||
=== QT6 === | |||
QT6 is the preferred library (it seems like QT5 should work too) | |||
sudo apt install qt6-base-dev | |||
I may have installed other packages, but I forgot which. | |||
=== Source code === | === Source code === | ||
Revision as of 10:31, 1 August 2025
Experiments to extract and display GNSS live or recorded data
Required packages
Install Geographic library from https://geographiclib.sourceforge.io/C++/doc/install.html
sudo apt install libgeographiclib-dev
For Python install
pip install geographiclib
or
sudo apt install python3-geographiclib
QT6
QT6 is the preferred library (it seems like QT5 should work too)
sudo apt install qt6-base-dev
I may have installed other packages, but I forgot which.
Source code
Code is found here (on SVN)
svn co svn://repos.gbar.dtu.dk/jcan/svnjca/projekter/gnss_receiver
C++ code is then in the monitor directory.
CMake problem
GeographicLibConfig.cmake
The find package
find_package(GeographicLib REQUIRED)
in cmake fails, as the file GeographicLibConfig.cmake is not found.
This can be fixed by renaming the provided file FindGeographicLib.cmake by
cd /usr/share/cmake/geographiclib sudo ln -s FindGeographicLib.cmake GeographicLibConfig.cmake
XKB
Missing library, and CMake complains:
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
The solution was to install
sudo apt install libxkbcommon-dev
This occurred on Raspberry Pi 5 using 64bit default OS.