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.

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
[email protected] <mailto:[email protected]>

On Tue, Feb 28, 2017 at 5:00 AM, Ismail Sunni <[email protected]
<mailto:[email protected]>> 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>).
    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
    [email protected] <mailto:[email protected]>
    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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to