[Qgis-developer] Failed to build QGIS master on OSX

Matthias Kuhn matthias at opengis.ch
Tue Feb 28 13:27:16 PST 2017


Readded in 809d30f,

sorry for the inconvenience.

Matthias

On 28/02/2017 22:23, Tim Sutton wrote:
> Hi
>
>
>> On 28 Feb 2017, at 11:11 PM, Tom Elwertowski
>> <telwertowski at comcast.net <mailto:telwertowski at comcast.net>> wrote:
>>
>> Hi Matthias, Larry, et al.,
>>
>> Restoring the iostream header removed from qgspoint.h in 520e3c0 made
>> my Mac happy.
>
> That fixed it for me too thanks (doing Homebrew based build on mac).
>
> Regards
>
> Tim
>
>
>>
>> Tom Elwertowski
>>
>>
>> On 2/28/17 3:17 PM, Larry Shaffer wrote:
>>> Hi Tom, et al.,
>>>
>>> On Tue, Feb 28, 2017 at 11:41 AM, Tom Elwertowski
>>> <telwertowski at comcast.net <mailto:telwertowski at comcast.net>
>>> <mailto:telwertowski at comcast.net>> wrote:
>>>
>>>    Hi Larry, Ismail,
>>>
>>>    I don't use Homebrew but still have this problem.
>>>
>>>    QGIS c4bc154 built and ran for me on macOS 10.12.3, Qt 5.8, SIP
>>>    4.19.1 PyQt 5.8, QScintilla 2.10. The problem seems to arise from a
>>>    change made to QgsPoint a few days ago.
>>>
>>>    My guess is that for macOS, QgsPoint needs an extra or different C++
>>>    library header or else a dependency on a newer compiler version has
>>>    been introduced.
>>>
>>>
>>> Matthias, it looks like you worked on that class most recently in
>>> 520e3c0 and 1182816. Any ideas?
>>>
>>> Regards,
>>>
>>> Larry Shaffer
>>> Dakota Cartography
>>> Black Hills, South Dakota
>>> ----------------------------------
>>> Boundless Desktop and QGIS Support/Development
>>> Boundless Spatial - http://boundlessgeo.com <http://boundlessgeo.com/>
>>> lshaffer at boundlessgeo.com <mailto:lshaffer at boundlessgeo.com>
>>> <mailto:lshaffer at boundlessgeo.com>
>>>
>>>
>>>    Tom Elwertowski
>>>
>>>
>>>    On 2/28/17 12:26 PM, Larry Shaffer wrote:
>>>
>>>        Hi Ismail,
>>>
>>>        Due to this issue:
>>>        https://github.com/qgis/homebrew-qgisdev/issues/22
>>>        <https://github.com/qgis/homebrew-qgisdev/issues/22>
>>>
>>>        You may have compilation and runtime problems, which *may* be
>>>        unrelated
>>>        to QGIS source code. Until the associated Qt-based formulae are
>>>        fixed
>>>        upstream at Homebrew, this will persist.
>>>
>>>        Regards,
>>>
>>>        Larry Shaffer
>>>        Dakota Cartography
>>>        Black Hills, South Dakota
>>>        ----------------------------------
>>>        Boundless Desktop and QGIS Support/Development
>>>        Boundless Spatial - http://boundlessgeo.com
>>>        lshaffer at boundlessgeo.com <mailto:lshaffer at boundlessgeo.com>
>>> <mailto:lshaffer at boundlessgeo.com>
>>>        <mailto:lshaffer at boundlessgeo.com
>>>        <mailto:lshaffer at boundlessgeo.com>>
>>>
>>>        On Tue, Feb 28, 2017 at 5:00 AM, Ismail Sunni
>>>        <imajimatika at gmail.com <mailto:imajimatika at gmail.com>
>>> <mailto:imajimatika at gmail.com>
>>>        <mailto:imajimatika at gmail.com <mailto:imajimatika at gmail.com>>>
>>>        wrote:
>>>
>>>            Hi everyone
>>>
>>>            Today I tried to build QGIS on OSX by following the tutorial
>>>        in this
>>>            README
>>>
>>>        (https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md
>>>        <https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md>
>>>
>>>        <https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md
>>>        <https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md>>).
>>>            I pull the latest commit from QGIS also (sha: f0489c9fc6).
>>>        But, I
>>>            got this error:
>>>
>>>                /Users/ismailsunni/dev/cpp/QGIS/src/core/qgspoint.h:287:
>>>        error:
>>>                invalid operands to binary expression ('std::ostream'
>>> (aka
>>>                'basic_ostream<char>') and 'char *')
>>>                  os << p.toString().toLocal8Bit().data();
>>>                  ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>
>>>            and
>>>
>>>                /Users/ismailsunni/dev/cpp/QGIS/src/core/qgsrectangle.h:228:
>>>                error: invalid operands to binary expression
>>> ('std::ostream'
>>>                (aka 'basic_ostream<char>') and 'char *')
>>>                  return os << r.toString().toLocal8Bit().data();
>>>                         ~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>
>>>            Does anyone have experience about this also? I have asked
>>>        Tim and
>>>            Etienne, they also got the same problem.
>>>
>>>            Best Regards.
>>>
>>>            --
>>>            Ismail Sunni
>>>            ismailsunni.wordpress.com
>>> <http://ismailsunni.wordpress.com> <http://ismailsunni.wordpress.com>
>>>        <http://ismailsunni.wordpress.com
>>>        <http://ismailsunni.wordpress.com>>
>>>
>>>            _______________________________________________
>>>            Qgis-developer mailing list
>>>            Qgis-developer at lists.osgeo.org
>>> <mailto:Qgis-developer at lists.osgeo.org>
>>>        <mailto:Qgis-developer at lists.osgeo.org>
>>>        <mailto:Qgis-developer at lists.osgeo.org
>>>        <mailto:Qgis-developer at lists.osgeo.org>>
>>>            List info:
>>>        https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>            <https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>>
>>>            Unsubscribe:
>>>        https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>            <https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>>
>>>
>>>
>>>
>>>
>>>        _______________________________________________
>>>        Qgis-developer mailing list
>>>        Qgis-developer at lists.osgeo.org
>>> <mailto:Qgis-developer at lists.osgeo.org>
>>>        <mailto:Qgis-developer at lists.osgeo.org>
>>>        List info:
>>>        https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>        Unsubscribe:
>>>        https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>        <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>
>>>    _______________________________________________
>>>    Qgis-developer mailing list
>>>    Qgis-developer at lists.osgeo.org
>>> <mailto:Qgis-developer at lists.osgeo.org>
>>> <mailto:Qgis-developer at lists.osgeo.org>
>>>    List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>    Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>    <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org <mailto: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
>>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org <mailto: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
>
>>
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Project chair:* QGIS.org <http://QGIS.org>
>
> Visit http://kartoza.com <http://kartoza.com/> to find out about open
> source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux 
> *IRC:* timlinux on #qgis at freenode.net <http://freenode.net>
>
> Kartoza is a merger between Linfiniti and Afrispatial
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170228/6e40f23f/attachment-0001.html>


More information about the Qgis-developer mailing list