LK8000/LK8000

Run LK8000 on Raspberry PI4 and Raspberry PI3

Closed this issue · 4 comments

I compiled from source LK8000 on Paspberry Pi 4. I start it and everything works great. I tried compiling to Raspberry Pi 3. The program started without errors, but the buttons on the front panel are not displayed.
LK8000_RP3

I compile on Raspberry Pi 3 with:
make TARGET=LINUX DEBUG=y
make install DEBUG=y

On start i see:

LK8000-LINUX_debug: Common/Source/xcs/Screen/OpenGL/Canvas.cpp:717: const PixelSize Canvas::CalcTextSize(const TCHAR*) const: Assertion `font' failed.
Aborted

what is linux distribution ?

assert is about missing font, font needed is "ttf-dejavu", available in different place depending of linux distribution and not automatically installed by default.

list of known font are here : https://github.com/LK8000/LK8000/blob/983f2974ecd9120f4ba05f050b435e8e261cf36f/Common/Source/xcs/Screen/Custom/Files.cpp

  1. ...what is linux distribution ? ...

I install OS in three steps

This makes it possible to install a desktop raspbian without a lot of unnecessary programs.

  1. Unfortunately, this installation method did not install the required fonts.

installing the fonts by the command: sudo apt-get install fonts-dejavu solved my problems

I sincerely thank you for your help