Bug report #13678
qgis master fails to build with rpath and geometrychecker plugin
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | C++ plugins/Geometry Checker | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 21710 |
Description
I'm trying to build QGIS (master, r29356, a0a44f2) on Arch Linux 64-bit and when it tries to compile the geometrychecker plugin it fails with a bunch of "undefined reference to vtable/typeinfo" errors:
[ 81%] Linking CXX shared module ../../../output/lib/qgis/plugins/libgeometrycheckerplugin.so
CMakeFiles/geometrycheckerplugin.dir/qgsgeometrycheckerplugin.cpp.o: In function `QgsGeometryCheckerPlugin::QgsGeometryCheckerPlugin(QgisInterface*)'
qgsgeometrycheckerplugin.cpp:(.text+0x135): undefined reference to `vtable for QgsGeometryCheckerPlugin'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o: In function `QgsGeometryAngleCheck::qt_metacast(char const*)'
moc_qgsgeometryanglecheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o: In function `QgsGeometryAngleCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryanglecheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o: In function `QgsGeometryAngleCheck::~QgsGeometryAngleCheck()'
moc_qgsgeometryanglecheck.cxx:(.text._ZN21QgsGeometryAngleCheckD2Ev[_ZN21QgsGeometryAngleCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o: In function `QgsGeometryAngleCheck::~QgsGeometryAngleCheck()'
moc_qgsgeometryanglecheck.cxx:(.text._ZN21QgsGeometryAngleCheckD0Ev[_ZN21QgsGeometryAngleCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o:(.data.rel.ro._ZTI21QgsGeometryAngleCheck[_ZTI21QgsGeometryAngleCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryanglecheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o: In function `QgsGeometryAreaCheck::qt_metacast(char const*)'
moc_qgsgeometryareacheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o: In function `QgsGeometryAreaCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryareacheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o: In function `QgsGeometryAreaCheck::~QgsGeometryAreaCheck()'
moc_qgsgeometryareacheck.cxx:(.text._ZN20QgsGeometryAreaCheckD2Ev[_ZN20QgsGeometryAreaCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o: In function `QgsGeometryAreaCheck::~QgsGeometryAreaCheck()'
moc_qgsgeometryareacheck.cxx:(.text._ZN20QgsGeometryAreaCheckD0Ev[_ZN20QgsGeometryAreaCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o:(.data.rel.ro._ZTI20QgsGeometryAreaCheck[_ZTI20QgsGeometryAreaCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryareacheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o: In function `QgsGeometryDegeneratePolygonCheck::qt_metacast(char const*)'
moc_qgsgeometrydegeneratepolygoncheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o: In function `QgsGeometryDegeneratePolygonCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrydegeneratepolygoncheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o: In function `QgsGeometryDegeneratePolygonCheck::~QgsGeometryDegeneratePolygonCheck()'
moc_qgsgeometrydegeneratepolygoncheck.cxx:(.text._ZN33QgsGeometryDegeneratePolygonCheckD2Ev[_ZN33QgsGeometryDegeneratePolygonCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o: In function `QgsGeometryDegeneratePolygonCheck::~QgsGeometryDegeneratePolygonCheck()'
moc_qgsgeometrydegeneratepolygoncheck.cxx:(.text._ZN33QgsGeometryDegeneratePolygonCheckD0Ev[_ZN33QgsGeometryDegeneratePolygonCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o:(.data.rel.ro._ZTI33QgsGeometryDegeneratePolygonCheck[_ZTI33QgsGeometryDegeneratePolygonCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrydegeneratepolygoncheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o: In function `QgsGeometryDuplicateCheck::qt_metacast(char const*)'
moc_qgsgeometryduplicatecheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o: In function `QgsGeometryDuplicateCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryduplicatecheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o: In function `QgsGeometryDuplicateCheck::~QgsGeometryDuplicateCheck()'
moc_qgsgeometryduplicatecheck.cxx:(.text._ZN25QgsGeometryDuplicateCheckD2Ev[_ZN25QgsGeometryDuplicateCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o: In function `QgsGeometryDuplicateCheck::~QgsGeometryDuplicateCheck()'
moc_qgsgeometryduplicatecheck.cxx:(.text._ZN25QgsGeometryDuplicateCheckD0Ev[_ZN25QgsGeometryDuplicateCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o:(.data.rel.ro._ZTI25QgsGeometryDuplicateCheck[_ZTI25QgsGeometryDuplicateCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatecheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o: In function `QgsGeometryDuplicateNodesCheck::qt_metacast(char const*)'
moc_qgsgeometryduplicatenodescheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o: In function `QgsGeometryDuplicateNodesCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryduplicatenodescheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o: In function `QgsGeometryDuplicateNodesCheck::~QgsGeometryDuplicateNodesCheck()'
moc_qgsgeometryduplicatenodescheck.cxx:(.text._ZN30QgsGeometryDuplicateNodesCheckD2Ev[_ZN30QgsGeometryDuplicateNodesCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o: In function `QgsGeometryDuplicateNodesCheck::~QgsGeometryDuplicateNodesCheck()'
moc_qgsgeometryduplicatenodescheck.cxx:(.text._ZN30QgsGeometryDuplicateNodesCheckD0Ev[_ZN30QgsGeometryDuplicateNodesCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o:(.data.rel.ro._ZTI30QgsGeometryDuplicateNodesCheck[_ZTI30QgsGeometryDuplicateNodesCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryduplicatenodescheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o: In function `QgsGeometryGapCheck::qt_metacast(char const*)'
moc_qgsgeometrygapcheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o: In function `QgsGeometryGapCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrygapcheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o: In function `QgsGeometryGapCheck::~QgsGeometryGapCheck()'
moc_qgsgeometrygapcheck.cxx:(.text._ZN19QgsGeometryGapCheckD2Ev[_ZN19QgsGeometryGapCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o: In function `QgsGeometryGapCheck::~QgsGeometryGapCheck()'
moc_qgsgeometrygapcheck.cxx:(.text._ZN19QgsGeometryGapCheckD0Ev[_ZN19QgsGeometryGapCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o:(.data.rel.ro._ZTI19QgsGeometryGapCheck[_ZTI19QgsGeometryGapCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrygapcheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o: In function `QgsGeometryHoleCheck::qt_metacast(char const*)'
moc_qgsgeometryholecheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o: In function `QgsGeometryHoleCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryholecheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o: In function `QgsGeometryHoleCheck::~QgsGeometryHoleCheck()'
moc_qgsgeometryholecheck.cxx:(.text._ZN20QgsGeometryHoleCheckD2Ev[_ZN20QgsGeometryHoleCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o: In function `QgsGeometryHoleCheck::~QgsGeometryHoleCheck()'
moc_qgsgeometryholecheck.cxx:(.text._ZN20QgsGeometryHoleCheckD0Ev[_ZN20QgsGeometryHoleCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o:(.data.rel.ro._ZTI20QgsGeometryHoleCheck[_ZTI20QgsGeometryHoleCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryholecheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o: In function `QgsGeometryMultipartCheck::qt_metacast(char const*)'
moc_qgsgeometrymultipartcheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o: In function `QgsGeometryMultipartCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrymultipartcheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o: In function `QgsGeometryMultipartCheck::~QgsGeometryMultipartCheck()'
moc_qgsgeometrymultipartcheck.cxx:(.text._ZN25QgsGeometryMultipartCheckD2Ev[_ZN25QgsGeometryMultipartCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o: In function `QgsGeometryMultipartCheck::~QgsGeometryMultipartCheck()'
moc_qgsgeometrymultipartcheck.cxx:(.text._ZN25QgsGeometryMultipartCheckD0Ev[_ZN25QgsGeometryMultipartCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o:(.data.rel.ro._ZTI25QgsGeometryMultipartCheck[_ZTI25QgsGeometryMultipartCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrymultipartcheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o: In function `QgsGeometryContainedCheck::qt_metacast(char const*)'
moc_qgsgeometrycontainedcheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o: In function `QgsGeometryContainedCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrycontainedcheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o: In function `QgsGeometryContainedCheck::~QgsGeometryContainedCheck()'
moc_qgsgeometrycontainedcheck.cxx:(.text._ZN25QgsGeometryContainedCheckD2Ev[_ZN25QgsGeometryContainedCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o: In function `QgsGeometryContainedCheck::~QgsGeometryContainedCheck()'
moc_qgsgeometrycontainedcheck.cxx:(.text._ZN25QgsGeometryContainedCheckD0Ev[_ZN25QgsGeometryContainedCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o:(.data.rel.ro._ZTI25QgsGeometryContainedCheck[_ZTI25QgsGeometryContainedCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrycontainedcheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o: In function `QgsGeometryOverlapCheck::qt_metacast(char const*)'
moc_qgsgeometryoverlapcheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o: In function `QgsGeometryOverlapCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryoverlapcheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o: In function `QgsGeometryOverlapCheck::~QgsGeometryOverlapCheck()'
moc_qgsgeometryoverlapcheck.cxx:(.text._ZN23QgsGeometryOverlapCheckD2Ev[_ZN23QgsGeometryOverlapCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o: In function `QgsGeometryOverlapCheck::~QgsGeometryOverlapCheck()'
moc_qgsgeometryoverlapcheck.cxx:(.text._ZN23QgsGeometryOverlapCheckD0Ev[_ZN23QgsGeometryOverlapCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o:(.data.rel.ro._ZTI23QgsGeometryOverlapCheck[_ZTI23QgsGeometryOverlapCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryoverlapcheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o: In function `QgsGeometrySegmentLengthCheck::qt_metacast(char const*)'
moc_qgsgeometrysegmentlengthcheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o: In function `QgsGeometrySegmentLengthCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrysegmentlengthcheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o: In function `QgsGeometrySegmentLengthCheck::~QgsGeometrySegmentLengthCheck()'
moc_qgsgeometrysegmentlengthcheck.cxx:(.text._ZN29QgsGeometrySegmentLengthCheckD2Ev[_ZN29QgsGeometrySegmentLengthCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o: In function `QgsGeometrySegmentLengthCheck::~QgsGeometrySegmentLengthCheck()'
moc_qgsgeometrysegmentlengthcheck.cxx:(.text._ZN29QgsGeometrySegmentLengthCheckD0Ev[_ZN29QgsGeometrySegmentLengthCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o:(.data.rel.ro._ZTI29QgsGeometrySegmentLengthCheck[_ZTI29QgsGeometrySegmentLengthCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysegmentlengthcheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o: In function `QgsGeometrySelfIntersectionCheck::qt_metacast(char const*)'
moc_qgsgeometryselfintersectioncheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o: In function `QgsGeometrySelfIntersectionCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometryselfintersectioncheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o: In function `QgsGeometrySelfIntersectionCheck::~QgsGeometrySelfIntersectionCheck()'
moc_qgsgeometryselfintersectioncheck.cxx:(.text._ZN32QgsGeometrySelfIntersectionCheckD2Ev[_ZN32QgsGeometrySelfIntersectionCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o: In function `QgsGeometrySelfIntersectionCheck::~QgsGeometrySelfIntersectionCheck()'
moc_qgsgeometryselfintersectioncheck.cxx:(.text._ZN32QgsGeometrySelfIntersectionCheckD0Ev[_ZN32QgsGeometrySelfIntersectionCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o:(.data.rel.ro._ZTI32QgsGeometrySelfIntersectionCheck[_ZTI32QgsGeometrySelfIntersectionCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometryselfintersectioncheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysliverpolygoncheck.cxx.o: In function `QgsGeometrySliverPolygonCheck::~QgsGeometrySliverPolygonCheck()'
moc_qgsgeometrysliverpolygoncheck.cxx:(.text._ZN29QgsGeometrySliverPolygonCheckD2Ev[_ZN29QgsGeometrySliverPolygonCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrysliverpolygoncheck.cxx.o: In function `QgsGeometrySliverPolygonCheck::~QgsGeometrySliverPolygonCheck()'
moc_qgsgeometrysliverpolygoncheck.cxx:(.text._ZN29QgsGeometrySliverPolygonCheckD0Ev[_ZN29QgsGeometrySliverPolygonCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o: In function `QgsGeometryTypeCheck::qt_metacast(char const*)'
moc_qgsgeometrytypecheck.cxx:(.text+0x67): undefined reference to `QgsGeometryCheck::qt_metacast(char const*)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o: In function `QgsGeometryTypeCheck::qt_metacall(QMetaObject::Call, int, void**)'
moc_qgsgeometrytypecheck.cxx:(.text+0x81): undefined reference to `QgsGeometryCheck::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o: In function `QgsGeometryTypeCheck::~QgsGeometryTypeCheck()'
moc_qgsgeometrytypecheck.cxx:(.text._ZN20QgsGeometryTypeCheckD2Ev[_ZN20QgsGeometryTypeCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o: In function `QgsGeometryTypeCheck::~QgsGeometryTypeCheck()'
moc_qgsgeometrytypecheck.cxx:(.text._ZN20QgsGeometryTypeCheckD0Ev[_ZN20QgsGeometryTypeCheckD5Ev]+0x3): undefined reference to `vtable for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o:(.data.rel.ro._ZTI20QgsGeometryTypeCheck[_ZTI20QgsGeometryTypeCheck]+0x10): undefined reference to `typeinfo for QgsGeometryCheck'
CMakeFiles/geometrycheckerplugin.dir/checks/moc_qgsgeometrytypecheck.cxx.o:(.data.rel.ro+0x0): undefined reference to `QgsGeometryCheck::staticMetaObject'
collect2: error: ld returned 1 exit status
src/plugins/geometry_checker/CMakeFiles/geometrycheckerplugin.dir/build.make:1377: recipe for target 'output/lib/qgis/plugins/libgeometrycheckerplugin.so' failed
make[2]: *** [output/lib/qgis/plugins/libgeometrycheckerplugin.so] Error 1
CMakeFiles/Makefile2:3232: recipe for target 'src/plugins/geometry_checker/CMakeFiles/geometrycheckerplugin.dir/all' failed
make[1]: *** [src/plugins/geometry_checker/CMakeFiles/geometrycheckerplugin.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
I've been able to build QGIS 2.12.0 (current release, r5, g8347a4b) without errors and with the geometrychecker plugin.
History
#1
Updated by Donovan Cameron almost 9 years ago
Forgot to mention that the QGIS Master version I'm using has some changes in cmake to allow side-by-side installations with qgis (release and ltr) through the rpath options.
Here's the cmake options I've got:
cmake -G "Unix Makefiles" ../ \\
-Wno-dev \\
-DCMAKE_SKIP_BUILD_RPATH=FALSE \\
-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \\
-DCMAKE_INSTALL_RPATH=/opt/$pkgname/lib \\
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \\
-DCMAKE_INSTALL_PREFIX=/opt/$pkgname/ \\
-DENABLE_TESTS=OFF \\
-DQGIS_MANUAL_SUBDIR=man \\
-DPYTHON_EXECUTABLE=/usr/bin/python2 \\
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \\
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \\
-DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \\
-DPYQT4_SIP_DIR=/usr/share/sip/PyQt4 \\
-DQSCI_SIP_DIR=/usr/share/sip/PyQt4 \\
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \\
-DWITH_INTERNAL_QWTPOLAR=FALSE \\
-DQWTPOLAR_LIBRARY=/usr/lib/libqwtpolar.so \\
-DQWT_LIBRARY=/usr/lib/libqwt.so \\
-DWITH_SERVER=TRUE \\
-DWITH_SERVER_PLUGINS=TRUE \\
-DWITH_GRASS7=ON \\
-DGRASS_PREFIX7=/opt/grass \\
-DGRASS_INCLUDE_DIR7=/opt/grass/include/ \\
-DWITH_GRASS=ON \\
-DGRASS_PREFIX=/opt/grass64 \\
-DGRASS_INCLUDE_DIR=/opt/grass64/include
#2
Updated by Nyall Dawson almost 9 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed