Page 1 of 1

Compiling QLC+ 4.13.1 on Raspian from source

Posted: Thu Aug 29, 2024 10:40 pm
by osram750
Hi all,

First off thank you Massimo for your incredible software and dedication to this community. It is truly a blessing that we can get such power over our lights and systems with only a download.

I am trying to compile QLC+ with the GPIO plugin, so that I may make use of some custom control surfaces and the Pi's pins. Unfortunately, I am at a loss as to what's going wrong. I am having compile issues based around "translate.sh", something to do with the encoding. As far as the Pi and OS go, it's pretty much stock Raspian configured to work in GMT+5 with EN_US locale.

I am following instructions from https://github.com/mcallegari/qlcplus/w ... --&-qmake)
The other compile option (cmake) produces the same results.
I've tried directly compiling via make/build/install, as well as using the debian "create-deb.sh". Same results everywhere.

As this machine is airgapped, I have installed all the dependancies and acquired the source manually via sneakernet. If it is necessary, I can network the computer should that aid in compilation for whatever reason, maybe I got the wrong package?

Below is my output at the time of compiling:

Code: Select all


dpkg-buildpackage: warning:     debian/changelog(l15): found start of entry where expected more change data or trailer
LINE: qlcplus (4.13.1) stable; urgency=low
dpkg-buildpackage: warning:     debian/changelog(l15): found end of file where expected more change data or trailer
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package qlcplus
dpkg-buildpackage: info: source version 4.13.2
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by 
dpkg-buildpackage: info: host architecture arm64
 dpkg-source -I.git --before-build .
dpkg-source: warning: qlcplus-master/debian/changelog(l15): found start of entry where expected more change data or trailer
LINE: qlcplus (4.13.1) stable; urgency=low
dpkg-source: warning: qlcplus-master/debian/changelog(l15): found end of file where expected more change data or trailer
 fakeroot debian/rules clean
dh  clean --parallel
   dh_auto_clean
   dh_clean
 dpkg-source -I.git -b .
dpkg-source: warning: qlcplus-master/debian/changelog(l15): found start of entry where expected more change data or trailer
LINE: qlcplus (4.13.1) stable; urgency=low
dpkg-source: warning: qlcplus-master/debian/changelog(l15): found end of file where expected more change data or trailer
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: warning: source directory 'qlcplus-master' is not <sourcepackage>-<upstreamversion> 'qlcplus-4.13.2'
dpkg-source: info: building qlcplus in qlcplus_4.13.2.tar.gz
dpkg-source: info: building qlcplus in qlcplus_4.13.2.dsc
 debian/rules build
dh  build --parallel
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/control/Documents/qlcplus-master'
./translate.sh
Processing de_DE
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_de_DE.ts:1:1: Encountered incorrectly encoded content.
Processing es_ES
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_es_ES.ts:1:1: Encountered incorrectly encoded content.
Processing fr_FR
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_fr_FR.ts:1:1: Encountered incorrectly encoded content.
Processing it_IT
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_it_IT.ts:1:1: Encountered incorrectly encoded content.
Processing nl_NL
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_nl_NL.ts:1:1: Encountered incorrectly encoded content.
Processing cz_CZ
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_cz_CZ.ts:1:1: Encountered incorrectly encoded content.
Processing pt_BR
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_pt_BR.ts:1:1: Encountered incorrectly encoded content.
Processing ca_ES
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_ca_ES.ts:1:1: Encountered incorrectly encoded content.
Processing ja_JP
lrelease error: Parse error at ./fixtureeditor/._fixtureeditor_ja_JP.ts:1:1: Encountered incorrectly encoded content.
make[1]: *** [debian/rules:11: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/control/Documents/qlcplus-master'
make: *** [debian/rules:8: build] Error 2




Have I downloaded the wrong version of QLC from the git? Perhaps this one has a bug? Or am I not setting something right before compiling maybe? Is there possibly a way to enable the GPIO plugin without recompiling/reinstalling?



Thank you again, any help is appreciated.

Re: Compiling QLC+ 4.13.1 on Raspian from source

Posted: Fri Aug 30, 2024 8:09 am
by mcallegari

Code: Select all

./fixtureeditor/._fixtureeditor_de_DE.ts
That's a non existing file.
Not sure why in your environment it prepends "._" before the filename.
By the way, please use only cmake to build.

Re: Compiling QLC+ 4.13.1 on Raspian from source

Posted: Sun Sep 01, 2024 6:44 pm
by markzvo
GPIOs are not working on 4.13.1 (on Raspberry Pi 5)