Skip to content

Compiling for Raspberry Pi 4

WZ9V edited this page Jan 11, 2021 · 10 revisions

This is for the 1.1 version, I used the source for 1.1.7

Updated 1/10/2021

I did this on a Raspberry Pi 4 with 4GB memory and 32GB SD Card YMMV with other Pi variants Latest Raspbian Desktop 2/23/2020

Tried with 64-bit Raspbian Beta 8/20/2020 (with latest updates)

Get Qt and libraries needed

sudo apt-get install qtcreator qt5-default libqt5serialport5-dev

Fix a couple of source files, borrowed from issue #77

In src/frmmain.h you must append the following line:

#include <QGLFormat>

In src/widgets/glwidget.cpp you must append:

#define GL_PROGRAM_POINT_SIZE 100

Compile with

qmake candle.pro

make

Run with

./Candle

Open up Service -> Settings and choose Set to defaults to fix the colors in the top view.


top view Refer to pihnat/rpi-Candle for more info to run or compile Candle on a Raspberry Pi.

Clone this wiki locally