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

Larry Shaffer larrys at dakotacarto.com
Tue Feb 28 12:17:03 PST 2017


Hi Tom, et al.,

On Tue, Feb 28, 2017 at 11:41 AM, Tom Elwertowski <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
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
>>
>> 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>
>>
>> On Tue, Feb 28, 2017 at 5:00 AM, Ismail Sunni <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/develo
>> pment/README.md
>>     <https://github.com/qgis/homebrew-qgisdev/blob/master/develo
>> pment/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>
>>
>>     _______________________________________________
>>     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
>>     <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
>> 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
> 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/20170228/2c00d2db/attachment.html>


More information about the Qgis-developer mailing list