simoninns / DomesdayDuplicator

High-speed LaserDisc RF sampler
GNU General Public License v3.0
160 stars 21 forks source link

Build failing for GUI Linux-Application possibly following update #134

Closed rktcc closed 1 year ago

rktcc commented 1 year ago

QT Software & Kernel:

linux 6.0.12.arch1-1 (Arch Linux) qt6-5compat 6.4.1-1 qt6-base 6.4.1-1 qt6-declarative 6.4.1-1 qt6-imageformats 6.4.1-2 qt6-multimedia 6.4.1-1 qt6-multimedia-ffmpeg 6.4.1-1 qt6-positioning 6.4.1-1 qt6-serialport 6.4.1-1 qt6-svg 6.4.1-1 qt6-tools 6.4.1-1 qt6-translations 6.4.1-1 qt6-webchannel 6.4.1-1 qt6-webengine 6.4.1-2 qt6-websockets 6.4.1-1 qt6ct 0.7-2

With this commit, the GUI Linux QT application is failing to build now somehow.

Initially, errors as follow:

$ git clone https://github.com/simoninns/DomesdayDuplicator/ && cd DomesdayDuplicator/Linux-Application/DomesdayDuplicator
$ qmake6
$ make all

/usr/lib/qt6/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt6/uic aboutdialog.ui -o ui_aboutdialog.h
/usr/lib/qt6/uic configurationdialog.ui -o ui_configurationdialog.h
/usr/lib/qt6/uic playerremotedialog.ui -o ui_playerremotedialog.h
/usr/lib/qt6/uic automaticcapturedialog.ui -o ui_automaticcapturedialog.h
/usr/lib/qt6/uic advancednamingdialog.ui -o ui_advancednamingdialog.h
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o configuration.o configuration.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o usbdevice.o usbdevice.cpp
In file included from mainwindow.h:46,
                 from mainwindow.cpp:28:
amplitudemeasurement.h:7:10: fatal error: QAudioBuffer: No such file or directory
    7 | #include <QAudioBuffer>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:871: mainwindow.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from mainwindow.h:46,
                 from main.cpp:28:
amplitudemeasurement.h:7:10: fatal error: QAudioBuffer: No such file or directory
    7 | #include <QAudioBuffer>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:855: main.o] Error 1

However, if the following changes are made, to refer to QtMultimedia explicitly:

$ diff DomesdayDuplicator/Linux-Application/DomesdayDuplicator/amplitudemeasurement.cpp amplitudemeasurement_modified.cpp 

2,3c2,4
< #include <QtMultimedia>
< #include <QAudioBuffer>
---
> #include <QtMultimedia/QAudioBuffer>
> #include <QtMultimedia/QAudioDevice>
> #include <QtMultimedia/QAudioSource>
7,8d7
< #include <QAudioDevice>
< #include <QAudioSource>

/////

$ diff DomesdayDuplicator/Linux-Application/DomesdayDuplicator/amplitudemeasurement.h /dev/shm/amplitudemeasurement.h 
7,10c7,9
< #include <QAudioBuffer>
< #include <QAudioSource>
< #include <QMediaDevices>
< #include <QAudioBuffer>
---
> #include <QtMultimedia/QAudioBuffer>
> #include <QtMultimedia/QAudioSource>
> #include <QtMultimedia/QMediaDevices>

Then it continues building further, but still fails later sadly:

$ make clean
$ make all
/usr/lib/qt6/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt6/uic aboutdialog.ui -o ui_aboutdialog.h
/usr/lib/qt6/uic configurationdialog.ui -o ui_configurationdialog.h
/usr/lib/qt6/uic playerremotedialog.ui -o ui_playerremotedialog.h
/usr/lib/qt6/uic automaticcapturedialog.ui -o ui_automaticcapturedialog.h
/usr/lib/qt6/uic advancednamingdialog.ui -o ui_advancednamingdialog.h
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o configuration.o configuration.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o usbdevice.o usbdevice.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o aboutdialog.o aboutdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o configurationdialog.o configurationdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o usbcapture.o usbcapture.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o playerremotedialog.o playerremotedialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o playercommunication.o playercommunication.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o playercontrol.o playercontrol.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o automaticcapturedialog.o automaticcapturedialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o advancednamingdialog.o advancednamingdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o amplitudemeasurement.o amplitudemeasurement.cpp
/usr/lib/qt6/rcc -name resources resources.qrc -o qrc_resources.cpp
g++ -pipe -O2 -Wall -Wextra -fPIC -dM -E -o moc_predefs.h /usr/lib/qt6/mkspecs/features/data/dummy.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o qrc_resources.o qrc_resources.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include mainwindow.h -o moc_mainwindow.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include configuration.h -o moc_configuration.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include usbdevice.h -o moc_usbdevice.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include aboutdialog.h -o moc_aboutdialog.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include configurationdialog.h -o moc_configurationdialog.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include usbcapture.h -o moc_usbcapture.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include playerremotedialog.h -o moc_playerremotedialog.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include playercommunication.h -o moc_playercommunication.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include playercontrol.h -o moc_playercontrol.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include automaticcapturedialog.h -o moc_automaticcapturedialog.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include advancednamingdialog.h -o moc_advancednamingdialog.cpp
/usr/lib/qt6/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include DomesdayDuplicator/Linux-Application/DomesdayDuplicator/moc_predefs.h -I/usr/lib/qt6/mkspecs/linux-g++ -IDomesdayDuplicator/Linux-Application/DomesdayDuplicator -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I/usr/include/c++/12.2.0 -I/usr/include/c++/12.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/12.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed -I/usr/include amplitudemeasurement.h -o moc_amplitudemeasurement.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_configuration.o moc_configuration.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_usbdevice.o moc_usbdevice.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_aboutdialog.o moc_aboutdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_configurationdialog.o moc_configurationdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_usbcapture.o moc_usbcapture.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_playerremotedialog.o moc_playerremotedialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_playercommunication.o moc_playercommunication.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_playercontrol.o moc_playercontrol.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_automaticcapturedialog.o moc_automaticcapturedialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_advancednamingdialog.o moc_advancednamingdialog.cpp
g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/usr/include/libusb-1.0 -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtSerialPort -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o moc_amplitudemeasurement.o moc_amplitudemeasurement.cpp
g++ -Wl,-O1 -Wl,-rpath,/usr/lib -Wl,-rpath-link,/usr/lib -o DomesdayDuplicator  main.o mainwindow.o configuration.o usbdevice.o aboutdialog.o configurationdialog.o usbcapture.o playerremotedialog.o playercommunication.o playercontrol.o automaticcapturedialog.o advancednamingdialog.o amplitudemeasurement.o qrc_resources.o moc_mainwindow.o moc_configuration.o moc_usbdevice.o moc_aboutdialog.o moc_configurationdialog.o moc_usbcapture.o moc_playerremotedialog.o moc_playercommunication.o moc_playercontrol.o moc_automaticcapturedialog.o moc_advancednamingdialog.o moc_amplitudemeasurement.o   -L/usr/lib -lusb-1.0 /usr/lib/libQt6Widgets.so /usr/lib/libQt6Gui.so /usr/lib/libGLX.so /usr/lib/libOpenGL.so /usr/lib/libQt6SerialPort.so /usr/lib/libQt6Core.so -lpthread -lGLX -lOpenGL   
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::AmplitudeMeasurement(QWidget*)':
amplitudemeasurement.cpp:(.text+0x1e1): undefined reference to `QCustomPlot::QCustomPlot(QWidget*)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x287): undefined reference to `QCustomPlot::addGraph(QCPAxis*, QCPAxis*)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x2a6): undefined reference to `QCPAxis::setTicks(bool)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x2de): undefined reference to `QCustomPlot::setBackground(QBrush const&)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x302): undefined reference to `QCPRange::QCPRange(double, double)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x30d): undefined reference to `QCPAxis::setRange(QCPRange const&)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x317): undefined reference to `QCustomPlot::axisRect(int) const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x321): undefined reference to `QCPLayoutElement::setAutoMargins(QFlags<QCP::MarginSide>)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x32b): undefined reference to `QCustomPlot::axisRect(int) const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x343): undefined reference to `QCPLayoutElement::setMargins(QMargins const&)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x364): undefined reference to `QCPAxis::setTickLabelFont(QFont const&)'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::plot()':
amplitudemeasurement.cpp:(.text+0x4d5): undefined reference to `QCPGraph::addData(QList<double> const&, QList<double> const&, bool)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x4f7): undefined reference to `QCPRange::QCPRange(double, double)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x502): undefined reference to `QCPAxis::setRange(QCPRange const&)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x50f): undefined reference to `QCustomPlot::replot(QCustomPlot::RefreshPriority)'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::setBuffer()':
amplitudemeasurement.cpp:(.text+0x75d): undefined reference to `QAudioBuffer::QAudioBuffer(QByteArray const&, QAudioFormat const&, long long)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x768): undefined reference to `QAudioBuffer::constData() const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x77a): undefined reference to `QAudioBuffer::sampleCount() const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0x892): undefined reference to `QAudioBuffer::~QAudioBuffer()'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::getMeanAmplitude()':
amplitudemeasurement.cpp:(.text+0xc3d): undefined reference to `QAudioBuffer::QAudioBuffer(QByteArray const&, QAudioFormat const&, long long)'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0xc45): undefined reference to `QAudioBuffer::constData() const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0xc50): undefined reference to `QAudioBuffer::sampleCount() const'
/usr/bin/ld: amplitudemeasurement.cpp:(.text+0xec2): undefined reference to `QAudioBuffer::~QAudioBuffer()'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::AmplitudeMeasurement(QWidget*) [clone .cold]':
amplitudemeasurement.cpp:(.text.unlikely+0x18): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::setBuffer() [clone .cold]':
amplitudemeasurement.cpp:(.text.unlikely+0x44): undefined reference to `QAudioBuffer::~QAudioBuffer()'
/usr/bin/ld: amplitudemeasurement.o: in function `AmplitudeMeasurement::getMeanAmplitude() [clone .cold]':
amplitudemeasurement.cpp:(.text.unlikely+0x5e): undefined reference to `QAudioBuffer::~QAudioBuffer()'
/usr/bin/ld: moc_amplitudemeasurement.o: in function `AmplitudeMeasurement::qt_metacall(QMetaObject::Call, int, void**)':
moc_amplitudemeasurement.cpp:(.text+0xb1): undefined reference to `QCustomPlot::qt_metacall(QMetaObject::Call, int, void**)'
/usr/bin/ld: moc_amplitudemeasurement.o: in function `AmplitudeMeasurement::qt_metacast(char const*)':
moc_amplitudemeasurement.cpp:(.text+0x8d): undefined reference to `QCustomPlot::qt_metacast(char const*)'
/usr/bin/ld: moc_amplitudemeasurement.o: in function `AmplitudeMeasurement::~AmplitudeMeasurement()':
moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD2Ev[_ZN20AmplitudeMeasurementD5Ev]+0x33): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD2Ev[_ZN20AmplitudeMeasurementD5Ev]+0x5b): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: moc_amplitudemeasurement.o: in function `non-virtual thunk to AmplitudeMeasurement::~AmplitudeMeasurement()':
moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD2Ev[_ZN20AmplitudeMeasurementD5Ev]+0x94): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD2Ev[_ZN20AmplitudeMeasurementD5Ev]+0xbc): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: moc_amplitudemeasurement.o: in function `AmplitudeMeasurement::~AmplitudeMeasurement()':
moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD0Ev[_ZN20AmplitudeMeasurementD5Ev]+0x32): undefined reference to `QCustomPlot::~QCustomPlot()'
/usr/bin/ld: moc_amplitudemeasurement.o:moc_amplitudemeasurement.cpp:(.text._ZN20AmplitudeMeasurementD0Ev[_ZN20AmplitudeMeasurementD5Ev]+0x93): more undefined references to `QCustomPlot::~QCustomPlot()' follow
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro+0x20): undefined reference to `QCustomPlot::staticMetaObject'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTI20AmplitudeMeasurement[_ZTI20AmplitudeMeasurement]+0x10): undefined reference to `typeinfo for QCustomPlot'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x80): undefined reference to `QCustomPlot::sizeHint() const'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x88): undefined reference to `QCustomPlot::minimumSizeHint() const'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0xa8): undefined reference to `QCustomPlot::mousePressEvent(QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0xb0): undefined reference to `QCustomPlot::mouseReleaseEvent(QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0xb8): undefined reference to `QCustomPlot::mouseDoubleClickEvent(QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0xc0): undefined reference to `QCustomPlot::mouseMoveEvent(QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0xc8): undefined reference to `QCustomPlot::wheelEvent(QWheelEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x100): undefined reference to `QCustomPlot::paintEvent(QPaintEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x110): undefined reference to `QCustomPlot::resizeEvent(QResizeEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1b0): undefined reference to `QCustomPlot::draw(QCPPainter*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1b8): undefined reference to `QCustomPlot::updateLayout()'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1c0): undefined reference to `QCustomPlot::axisRemoved(QCPAxis*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1c8): undefined reference to `QCustomPlot::legendRemoved(QCPLegend*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1d0): undefined reference to `QCustomPlot::processRectSelection(QRect, QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1d8): undefined reference to `QCustomPlot::processRectZoom(QRect, QMouseEvent*)'
/usr/bin/ld: moc_amplitudemeasurement.o:(.data.rel.ro._ZTV20AmplitudeMeasurement[_ZTV20AmplitudeMeasurement]+0x1e0): undefined reference to `QCustomPlot::processPointSelection(QMouseEvent*)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:306: DomesdayDuplicator] Error 1

I am not a coding dev so all of this is just guesswork. But now I am really unsure on a next step. My guess is that by referencing the QtMultimedia/Qtxxxx include header, it is messing something up in a way it shouldn't be, since the above error shows stuff like "undefined reference to QAudioBuffer"

This testing is being done on Arch Linux but should be reproduceable on Ubuntu I bet.

Thank you

TokugawaHeavyIndustries commented 1 year ago

Wiki changes required:

1) Remove instructions for building with QMake (no longer supported with Qt6) 2) Building software with CMake:

Dependencies: sudo apt install --no-install-recommends git cmake libgl-dev qt6-base-dev libqt6serialport6-dev libusb-1.0-0-dev qt6-multimedia-dev build-essential

Then follow up with:

mkdir ~/github
cd ~/github
git clone https://github.com/simoninns/DomesdayDuplicator

and then the cmake instructions:

cd ~/github/DomesdayDuplicator/Linux-Application
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make -j8
sudo make install
TokugawaHeavyIndustries commented 1 year ago

Note that cmake will also build dddconv and dddutil. Additionally, note that Ubuntu 22.04 is the current supported OS (parity with ld-decode)

rktcc commented 1 year ago

Thank you for the updated information, build with cmake on the base repo as-is (no other changes) was fully successful :)

I have now noted that Ubuntu is the supported OS, can now however also confirm Arch is working fine. If I have issues with capture, I will run an Ubuntu system to match support.

Thank you again and I apologize for causing any issues here. I'll leave the issue open as you noted some To Be Done changes above, up to you to close or reference elsewhere.

TokugawaHeavyIndustries commented 1 year ago

@rktcc You didn't cause any issues! Happy you pointed this out so we could get the documentation up to date.

simoninns commented 1 year ago

Documentation updated; thanks!