Open 01-1 opened 1 month ago
I am on Fedora. Also note that I had to run qmake-qt5 instead of qmake: this should be modified in the documentation at https://github.com/Audio4Linux/JDSP4Linux/blob/master/INSTALL_PULSE.md.
qmake-qt5
qmake
../../3rdparty/qcustomplot/qcustomplot.cpp: In member function ‘virtual QCPPainter* QCPPaintBufferPixmap::startPainting()’: ../../3rdparty/qcustomplot/qcustomplot.cpp:682:35: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 682 | result->setRenderHint(QPainter::HighQualityAntialiasing); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from ../../3rdparty/qcustomplot/qcustomplot.h:54, from ../../3rdparty/qcustomplot/qcustomplot.cpp:26: /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../3rdparty/qcustomplot/qcustomplot.cpp:682:35: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 682 | result->setRenderHint(QPainter::HighQualityAntialiasing); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../3rdparty/qcustomplot/qcustomplot.cpp: In member function ‘virtual void QCustomPlot::paintEvent(QPaintEvent*)’: ../../3rdparty/qcustomplot/qcustomplot.cpp:15492:35: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 15492 | painter.setRenderHint(QPainter::HighQualityAntialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../3rdparty/qcustomplot/qcustomplot.cpp:15492:35: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 15492 | painter.setRenderHint(QPainter::HighQualityAntialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -Wno-deprecated-enum-enum-conversion -Wno-missing-field-initializers -Wno-unused-function -Wno-unused-parameter -g -O2 -std=gnu++2a -pthread -pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DUSE_PULSEAUDIO -DFLATPAK_APP_ID=\"me.timschneeberger.jdsp4linux.pulse\" -DAPP_VERSION=2.7.0-24-g31325b3 -DJDSP_VERSION=4.01 -DQTCSV_MAKE_LIB -DQT_NO_PRINTER -DHAS_JDSP_DRIVER -DADS_STATIC -DQT_DEPRECATED_WARNINGS -DWITH_GZFILEOP -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I../../src -I. -I../../3rdparty/asyncplusplus/include -I../../3rdparty/qtpromise/include -I../../3rdparty/qtpromise/src -I../../3rdparty/qtcsv-qt5/include -I../../3rdparty/qtcsv-qt5 -I../../3rdparty/qcustomplot -I../../3rdparty/WAF -I../../3rdparty -I../../src/audio/base -I../../src/audio/pulseaudio/wrapper -I../../src/audio/pulseaudio -I../../src/subprojects/AutoEqIntegration -I../../src/subprojects/FlatTabWidget/FlatTabWidget -I../../src/subprojects/LiquidEqualizerWidget/src -I../../src/subprojects/GraphicEQWidget/GraphicEQWidget -I../../src/subprojects/EELEditor/3rdparty/QCodeEditor/include -I../../src/subprojects/EELEditor/3rdparty/docking-system/src -I../../src/subprojects/EELEditor/src -I../../libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp -I../../libjamesdsp -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/sysprof-6 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/qt5 -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui/5.15.14 -I/usr/include/qt5/QtGui/5.15.14/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5/QtCore -I. -I. -I/../lib64/qt5/mkspecs/linux-g++ -o PulseAudioService.o ../../src/audio/pulseaudio/PulseAudioService.cpp In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6, from /usr/include/gstreamer-1.0/gst/gst.h:31, from ../../src/audio/pulseaudio/wrapper/gstjamesdsp.h:4, from ../../src/audio/pulseaudio/wrapper/gstjamesdsp.c:1: ../../src/audio/pulseaudio/wrapper/gstjamesdsp.c: In function ‘gst_jamesdsp_class_init’: /usr/include/glib-2.0/gobject/gtype.h:2657:42: error: passing argument 1 of ‘gst_audio_filter_class_add_pad_templates’ from incompatible pointer type [-Wincompatible-pointer-types] 2657 | # define _G_TYPE_CCC(cp, gt, ct) ((ct*) (void *) cp) /usr/include/glib-2.0/gobject/gtype.h:597:66: note: in expansion of macro ‘_G_TYPE_CCC’ 597 | #define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type) (_G_TYPE_CCC ((g_class), (g_type), c_type)) | ^~~~~~~~~~~ ../../src/audio/pulseaudio/wrapper/gstjamesdsp.h:17:39: note: in expansion of macro ‘G_TYPE_CHECK_CLASS_CAST’ 17 | #define GST_JAMESDSP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass) ,GST_TYPE_JAMESDSP,GstjamesdspClass)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/audio/pulseaudio/wrapper/gstjamesdsp.c:93:46: note: in expansion of macro ‘GST_JAMESDSP_CLASS’ 93 | gst_audio_filter_class_add_pad_templates(GST_JAMESDSP_CLASS (klass), caps); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gstreamer-1.0/gst/audio/audio.h:109, from ../../src/audio/pulseaudio/wrapper/gstjamesdsp.h:5: /usr/include/gstreamer-1.0/gst/audio/gstaudiofilter.h:99:73: note: expected ‘GstAudioFilterClass *’ {aka ‘struct _GstAudioFilterClass *’} but argument is of type ‘GstjamesdspClass *’ {aka ‘struct _GstjamesdspClass *’} 99 | void gst_audio_filter_class_add_pad_templates (GstAudioFilterClass * klass, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/audio/pulseaudio/wrapper/gstjamesdsp.c: In function ‘gst_jamesdsp_transform_ip’: ../../src/audio/pulseaudio/wrapper/gstjamesdsp.c:240:12: warning: variable ‘pcm_data’ set but not used [-Wunused-but-set-variable] 240 | float *pcm_data; | ^~~~~~~~ make[1]: *** [Makefile:2982: gstjamesdsp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../../src/audio/pulseaudio/PulseAudioService.cpp: In lambda function: ../../src/audio/pulseaudio/PulseAudioService.cpp:50:25: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 50 | [=]() { | ^ ../../src/audio/pulseaudio/PulseAudioService.cpp:50:25: note: add explicit ‘this’ or ‘*this’ capture
I am on Fedora. Also note that I had to run
qmake-qt5
instead ofqmake
: this should be modified in the documentation at https://github.com/Audio4Linux/JDSP4Linux/blob/master/INSTALL_PULSE.md.