Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Error at "File" when compiling on Fedora 37 #69

Open
s1nistr4 opened this issue Mar 19, 2023 · 0 comments
Open

Parse Error at "File" when compiling on Fedora 37 #69

s1nistr4 opened this issue Mar 19, 2023 · 0 comments

Comments

@s1nistr4
Copy link

So I copied and pasted the commands from the readme to install this on Fedora 37 with KDE Plasma 5.27.2, and when it compiled I got the following error

AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/src/plugin.cc"
into
  "SRC:/build/src/kwin4_effect_yetanothermagiclamp_autogen/include/plugin.moc"
included by
  "SRC:/src/plugin.cc"

Command
-------
/usr/lib64/qt5/bin/moc -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin4_effect_yetanothermagiclamp_EXPORTS -I/home/sinistra/kwin-effects-yet-another-magic-lamp/build/src -I/home/sinistra/kwin-effects-yet-another-magic-lamp/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/KF5/KConfig -I/usr/include/KF5/KConfigCore -I/usr/include/KF5 -I/usr/include/KF5/KConfigGui -I/usr/include/qt5/QtXml -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KWindowSystem -I/usr/include/qt5/QtWidgets -I/usr/include -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include --include /home/sinistra/kwin-effects-yet-another-magic-lamp/build/src/kwin4_effect_yetanothermagiclamp_autogen/moc_predefs.h --output-dep-file -o /home/sinistra/kwin-effects-yet-another-magic-lamp/build/src/kwin4_effect_yetanothermagiclamp_autogen/include/plugin.moc /home/sinistra/kwin-effects-yet-another-magic-lamp/src/plugin.cc

Output
------
/home/sinistra/kwin-effects-yet-another-magic-lamp/src/plugin.cc:21: Parse error at "FILE"

make[2]: *** [src/CMakeFiles/kwin4_effect_yetanothermagiclamp_autogen.dir/build.make:71: src/CMakeFiles/kwin4_effect_yetanothermagiclamp_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:197: src/CMakeFiles/kwin4_effect_yetanothermagiclamp_autogen.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@s1nistr4 s1nistr4 changed the title Parse Error Near "File" when compiling on Fedora 37 Parse Error at "File" when compiling on Fedora 37 Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant