Build errors

Miika Turkia miika.turkia at gmail.com
Mon Oct 26 10:06:15 PDT 2015


I am looking failed build logs for Ubuntu Trusty and there are some
errors that apparently cause the build to fail. Can someone explain to
me what the following error is and how to fix it?

---8<---
/«PKGBUILDDIR»/qt-ui/profile/tankitem.h:14: Error: Undefined interface
AUTOMOC: error: process for
/«PKGBUILDDIR»/subsurface-build/moc_tankitem.cpp failed:
/«PKGBUILDDIR»/qt-ui/profile/tankitem.h:14: Error: Undefined interface

moc failed...
make[4]: *** [CMakeFiles/subsurface_profile_automoc] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/subsurface-build'
make[3]: *** [CMakeFiles/subsurface_profile_automoc.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
---8<---



And the following seems to fail the whole build process. What baffles
me is that QString should be provided by qtbase5-dev that appears to
be installed on the build host during the build.

---8<---

In file included from /«PKGBUILDDIR»/divesite.cpp:1:0:
/«PKGBUILDDIR»/divesite.h:9:19: fatal error: QString: No such file or directory
 #include <QString>
                   ^
compilation terminated.
---8<---

miika


More information about the subsurface mailing list