Summary: | Compile error with cmake 3.9 | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | rezso <rezso> |
Component: | Portability-Cmake | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, demm, freisim93, kungfujesus06, rikmills |
Priority: | NOR | ||
Version: | 5.6.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://cgit.kde.org/digikam.git/commit/?id=7e00441c257e7e9e5dc5ab983fc06046fb72b0c5 | Version Fixed In: | 5.7.0 |
Sentry Crash Report: |
Description
rezso
2017-07-25 10:34:01 UTC
I'm seeing similar linking errors errors (missing vtables for Digikam::ImageModel), though it's unclear if it's related to cmake versions. I only have one version of CMake to test. I tried it: with cmake 3.7.2 the build is successful, with cmake 3.9.0 fails. After downgrading cmake to 3.7.2, I can compile the code without any problems. It seems to me, that cmake 3.9 uses different dependency tracking / linking method than older versions: https://phabricator.kde.org/D6792 Ah, well as another data point I am in fact using CMake 3.9. My 5.6 rebuild with cmake 3.9 fails in just this way Kubuntu artful development version cmake 3.9 Fixed with current implementation from git/master (next 5.7.0) (In reply to caulier.gilles from comment #5) > Fixed with current implementation from git/master (next 5.7.0) Can you reference an commit(s) please? For now I will need to apply to 5.6 You can find the commit where it was fixed at the top in the "Latest Commit" field: https://cgit.kde.org/digikam.git/commit/?id=7e00441c257e7e9e5dc5ab983fc06046fb72b0c5 (In reply to Simon from comment #7) > You can find the commit where it was fixed at the top in the "Latest Commit" > field: > https://cgit.kde.org/digikam.git/commit/ > ?id=7e00441c257e7e9e5dc5ab983fc06046fb72b0c5 I found that. Doesn't seem to apply to the 5.6.0 tarball though. The patch from that commit applies fine to 5.6.0 here. Did you apply within the core directory? (In reply to Simon from comment #9) > The patch from that commit applies fine to 5.6.0 here. Did you apply within > the core directory? It seems to. Apologies, I forget the directory layout in the tarball had that extra level. Hopefully this will build. |