Build erros with lastest sources

Post Reply
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I'm trying to build QLC+ 4.18-GIT an I get some errors. I'm on Uubuntu 22.04, default Qt5 in Ubuntu with a newly cloned repo. I don't know what I'm doing wrong or if an additional package has to be installed.

Code: Select all

make[2]: Leaving directory '/home/sbenejam/qlctest/plugins/enttecwing'
rm -f libmidiplugin.so
g++ -shared -o libmidiplugin.so qlcioplugin.o mididevice.o midiinputdevice.o midioutputdevice.o midiplugin.o midiprotocol.o miditemplate.o configuremidiplugin.o qlcfile.o alsamidiinputthread.o alsamidiinputdevice.o alsamidioutputdevice.o alsamidienumerator.o alsamidiutil.o moc_qlcioplugin.o moc_mididevice.o moc_midiinputdevice.o moc_midioutputdevice.o moc_midiplugin.o moc_midienumerator.o moc_configuremidiplugin.o moc_alsamidiinputthread.o moc_alsamidienumerator.o  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread -lasound    
make[4]: Leaving directory '/home/sbenejam/qlctest/plugins/midi/src/alsa'
make[3]: Leaving directory '/home/sbenejam/qlctest/plugins/midi/src'
cd test/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/sbenejam/qlctest/plugins/midi/test/test.pro ) && make -f Makefile 
make[3]: Entering directory '/home/sbenejam/qlctest/plugins/midi/test'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/sbenejam/qlctest/plugins/midi/test'
make[2]: Leaving directory '/home/sbenejam/qlctest/plugins/midi'
make[1]: Leaving directory '/home/sbenejam/qlctest/plugins'
make: *** [Makefile:356: sub-plugins-make_first-ordered] Error 2
And a make check shows this.

Code: Select all

make[1]: Entering directory '/home/sbenejam/qlctest/plugins'
cd dmxusb/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/sbenejam/qlctest/plugins/dmxusb/dmxusb.pro ) && make -f Makefile check
make[2]: Entering directory '/home/sbenejam/qlctest/plugins/dmxusb'
cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/sbenejam/qlctest/plugins/dmxusb/src/src.pro ) && make -f Makefile check
Project MESSAGE: Building with QtSerialport support.
Project MESSAGE: Building with libFTDI1 support. Version: 1.5
Project MESSAGE: Using v1.5+ buffer flush API
Project ERROR: Unknown module(s) in QT: serialport
make[2]: *** [Makefile:250: sub-src-check_ordered] Error 3
make[2]: Leaving directory '/home/sbenejam/qlctest/plugins/dmxusb'
make[1]: *** [Makefile:570: sub-dmxusb-check] Error 2
make[1]: Leaving directory '/home/sbenejam/qlctest/plugins'
make: *** [Makefile:649: sub-plugins-check_ordered] Error 2
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I made some test, it seems that with this commit c4c94be85 ("plugins: add missing writeUniverse updates", 2023-06-27) builds fine. With more recent commits build QLC+ fails.
User avatar
edogawa
Posts: 630
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

Yes, all builds of 4.12.8-git in our OBS area (which are being updated and rebuilt automatically on every new github commit) fail for all supported distros and architectures currently.
janosvitok
Posts: 1325
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

Santiago, try to install libqt5serialport5-dev if it helps.

> Project ERROR: Unknown module(s) in QT: serialport

Jano
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Yeah, I confirm QtSerialPort is now a requirement on Linux and Windows too.

[EDIT] OBS builds fixed
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I just rebuild now with libqt5serialport5-dev and runs fine.
Post Reply