Gnss monitor: Difference between revisions
From Rsewiki
(→XKB) |
|||
| Line 35: | Line 35: | ||
=== XKB === | === XKB === | ||
Missing library | 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. | |||
== '''Absolutely not finished''' == | == '''Absolutely not finished''' == | ||
Revision as of 10:28, 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
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.