[QGIS-Developer] Problems compiling QGIS 3.0: no matching function for call to QgsLayerTreeLayer::connect

Hernán De Angelis dhdeangelis at gmail.com
Sat Mar 10 13:26:11 PST 2018


Thanks for the pointer, Chris. Indeed:

~> gcc --version
gcc (SUSE Linux) 4.8.5

I will chack again in two months with the new version (openSUSE 15). For
now I will live with QGIS 2.18.17 just fine.

Best,

H.

On Fri, Mar 9, 2018 at 7:32 PM, ceholden <ceholden+QGIS at gmail.com> wrote:

> Hi
>
> I encountered this same error trying to compile and package QGIS 3.0 within
> the "conda-forge" community channel of the Anaconda Python distribution,
> but
> only when using GCC 4.8 (4.8.5, specifically). Pretty sure I have to stick
> with GCC 4.8 for now within this build environment, but I did not encounter
> this issue when using GCC 7.2 or 7.3. I switched out to gcc 7.2, keeping
> all
> the other dependencies/etc the same, and can compile and run QGIS without
> issue.
>
> I don't know my way around SUSE, but it looks like the "gcc" package for
> openSUSE Leap 42.3 is version 4.8
> (https://software.opensuse.org/package/gcc). Assuming Hernán is using the
> "gcc" package (and not "gcc6" or "gcc7", and thus would be using gcc
> 4.8.x),
> then this could narrow down the issue and help explain why it hasn't come
> up
> elsewhere. I'm unfortunately clueless about the GCC history and not much of
> a C++ person, so I'm not sure where to go from here, beyond eventually
> upgrading gcc, but would be happy to test patches/compilation options/etc.
>
> Here's a link to a Gist with the output from cmake and the failed make
> step,
> either using Make and Ninja (Ninja shows
>
> Make:
> https://gist.github.com/ceholden/b6179d58e17f983ce6f29b32531bb4
> fa#file-qgis3-0_gcc4-8_make_fail
> Ninja:
> https://gist.github.com/ceholden/b6179d58e17f983ce6f29b32531bb4
> fa#file-qgis3-0_gcc4-8_ninja_fail
>
> Best,
> Chris
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-
> f4099106.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180310/9b0ba455/attachment.html>


More information about the QGIS-Developer mailing list