c-koi / gmic-qt

G'MIC-Qt is a versatile front-end to the image processing framework G'MIC.
GNU General Public License v3.0
206 stars 54 forks source link

Build fails with many unfound headers #177

Closed antonio-rojas closed 1 year ago

antonio-rojas commented 1 year ago

After commit eb5e2ad490145e0b8c87b93a7f05baeb7cedb6a8, build fails with many headers not being found. Looks like the include dirs are not being properly populated

/build/gmic/src/gmic-3.2.2/gmic-qt/src/Host/Gimp/host_gimp.cpp:25:10: fatal error: libgimp/gimp.h: No such file or directory
   25 | #include <libgimp/gimp.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:872: CMakeFiles/gmic_qt.dir/src/Host/Gimp/host_gimp.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/build/gmic/src/gmic-3.2.2/gmic-qt/src/FilterParameters/MultilineTextParameterWidget.cpp:30:10: fatal error: ui_multilinetextparameterwidget.h: No such file or directory
   30 | #include "ui_multilinetextparameterwidget.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:452: CMakeFiles/gmic_qt.dir/src/FilterParameters/MultilineTextParameterWidget.cpp.o] Error 1
/build/gmic/src/gmic-3.2.2/gmic-qt/src/Host/8bf/host_8bf.cpp:35:10: fatal error: QUUid: No such file or directory
   35 | #include <QUUid>
      |          ^~~~~~~
compilation terminated.
/build/gmic/src/gmic-3.2.2/gmic-qt/src/Host/PaintDotNet/host_paintdotnet.cpp:27:10: fatal error: QUUid: No such file or directory
   27 | #include <QUUid>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:858: CMakeFiles/gmic_qt.dir/src/Host/8bf/host_8bf.cpp.o] Error 1
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:928: CMakeFiles/gmic_qt.dir/src/Host/PaintDotNet/host_paintdotnet.cpp.o] Error 1
/build/gmic/src/gmic-3.2.2/gmic-qt/src/DialogSettings.cpp:37:10: fatal error: ui_dialogsettings.h: No such file or directory
   37 | #include "ui_dialogsettings.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:242: CMakeFiles/gmic_qt.dir/src/DialogSettings.cpp.o] Error 1
/build/gmic/src/gmic-3.2.2/gmic-qt/src/FilterSelector/FiltersView/FiltersView.cpp:42:10: fatal error: ui_filtersview.h: No such file or directory
   42 | #include "ui_filtersview.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:634: CMakeFiles/gmic_qt.dir/src/FilterSelector/FiltersView/FiltersView.cpp.o] Error 1
/build/gmic/src/gmic-3.2.2/gmic-qt/src/MainWindow.cpp:64:10: fatal error: ui_mainwindow.h: No such file or directory
   64 | #include "ui_mainwindow.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmic_qt.dir/build.make:1054: CMakeFiles/gmic_qt.dir/src/MainWindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/gmic_qt.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
c-koi commented 1 year ago

Should have been fixed by 017e716dccd36b03d524fc707c0ebad6da9fc8b1 and 420e85e005401d942a3ca5f5c39ee3c867fe8bdd.