c-koi/gmic-qt

Compile error

Closed this issue · 1 comments

Hi again,
after compiled gmic-qt on laptop I tried to compile on desktop with the same distro ( Slackware current) but after configuration OK when I compile I have:

[ 1%] Automatic MOC for target gmic_gimp_qt
[ 1%] Built target gmic_gimp_qt_autogen
[ 2%] Building CXX object CMakeFiles/gmic_gimp_qt.dir/gmic_gimp_qt_autogen/mocs_compilation.cpp.o
In file included from /root/git/gmic-qt/build/gmic_gimp_qt_autogen/mocs_compilation.cpp:2:
/root/git/gmic-qt/build/gmic_gimp_qt_autogen/UVLADIE3JM/moc_ClickableLabel.cpp:9:10: fatal error: ../../../../../sorgenti/git/gmic-qt/src/ClickableLabel.h: No such file or directory
9 | #include "../../../../../sorgenti/git/gmic-qt/src/ClickableLabel.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_gimp_qt.dir/build.make:182: CMakeFiles/gmic_gimp_qt.dir/gmic_gimp_qt_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:77: CMakeFiles/gmic_gimp_qt.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I think it is related to my PC configuration.. any hints?

Hi, I compiled as normal user instead as root and compile is OK.
I do not know what is my bug....