Open defg43 opened 2 years ago
both the manual install and the installer fail after the make command. The error appears to be caused by missing macros in helloshaders.moc. Output:
$ make [ 3%] Automatic MOC for target kwin4_effect_helloshaders AutoMoc warning --------------- "SRC:/kwin-effects/helloshaders.cpp" includes the moc file "helloshaders.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, Q_NAMESPACE_EXPORT, K_PLUGIN_FACTORY, K_PLUGIN_CLASS, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_CLASS_WITH_JSON macro. AutoMoc subprocess error ------------------------ The moc process failed to compile "SRC:/kwin-effects/helloshaders.cpp" into "SRC:/build/kwin-effects/kwin4_effect_helloshaders_autogen/include/helloshaders.moc" included by "SRC:/kwin-effects/helloshaders.cpp" Command ------- /usr/bin/moc -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin4_effect_helloshaders_EXPORTS -I/home/baseduser/ricetemp/hello/hello/build/kwin-effects -I/home/baseduser/ricetemp/hello/hello/kwin-effects -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtOpenGL -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/lib/qt/mkspecs/linux-g++ -I/usr/include/qt/QtX11Extras -I/usr/include/qt/QtXml -I/usr/include/KF5/KConfig -I/usr/include/KF5/KConfigCore -I/usr/include/KF5 -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KConfigGui -I/usr/include/KF5/KAuthWidgets -I/usr/include/KF5/KAuthCore -I/usr/include/KF5/KAuth -I/usr/include/KF5/KGuiAddons -I/usr/include/KF5/KWindowSystem -I/usr/include -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/11.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed --include /home/baseduser/ricetemp/hello/hello/build/kwin-effects/kwin4_effect_helloshaders_autogen/moc_predefs.h --output-dep-file -o /home/baseduser/ricetemp/hello/hello/build/kwin-effects/kwin4_effect_helloshaders_autogen/include/helloshaders.moc /home/baseduser/ricetemp/hello/hello/kwin-effects/helloshaders.cpp Output ------ /home/baseduser/ricetemp/hello/hello/kwin-effects/helloshaders.cpp:30: Parse error at "FILE" make[2]: *** [kwin-effects/CMakeFiles/kwin4_effect_helloshaders_autogen.dir/build.make:71: kwin-effects/CMakeFiles/kwin4_effect_helloshaders_autogen] Error 1 make[1]: *** [CMakeFiles/Makefile2:809: kwin-effects/CMakeFiles/kwin4_effect_helloshaders_autogen.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
I use Arch with Plasma 5.24.4 and kwin btw
both the manual install and the installer fail after the make command. The error appears to be caused by missing macros in helloshaders.moc. Output:
I use Arch with Plasma 5.24.4 and kwin btw