pockets – Error compile bitcoin mac OS

0
68


I’ve straggle to compile bitcoin core on mac OS machine. it has an error as the next:

/usr/native/embody/QtCore/qglobal.h:667:65: error: anticipated '>'
         typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
                                                                ^
/usr/native/embody/QtCore/qglobal.h:667:65: error: anticipated ',' or '>' in
      template-parameter-list
/usr/native/embody/QtCore/qglobal.h:668:66: error: anticipated unqualified-id
                                     std::is_floating_point_v<T> == std::is_floating_po...
                                                                 ^
/usr/native/embody/QtCore/qglobal.h:679:35: error: no sort named 'Promoted' in namespace
      'QTypeTraits::element'
utilizing Promoted = typename element::Promoted<T, U>::sort;
                 ~~~~~~~~~~~~~~~~~^~~~~~~~
/usr/native/embody/QtCore/qglobal.h:679:43: error: anticipated ';' after alias declaration
utilizing Promoted = typename element::Promoted<T, U>::sort;
                                          ^
                                          ;
/usr/native/embody/QtCore/qglobal.h:691:31: error: no template named 'Promoted' in namespace
      'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qMin(const T &a, const U &b)
                 ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:693:28: error: no template named 'Promoted' in namespace
      'QTypeTraits'
    utilizing P = QTypeTraits::Promoted<T, U>;
              ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:694:5: error: unknown sort identify 'P'
    P _a = a;
    ^
/usr/native/embody/QtCore/qglobal.h:695:5: error: unknown sort identify 'P'
    P _b = b;
    ^
/usr/native/embody/QtCore/qglobal.h:699:31: error: no template named 'Promoted' in namespace
      'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qMax(const T &a, const U &b)
                 ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:701:28: error: no template named 'Promoted' in namespace
      'QTypeTraits'
    utilizing P = QTypeTraits::Promoted<T, U>;
              ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:702:5: error: unknown sort identify 'P'
    P _a = a;
    ^
/usr/native/embody/QtCore/qglobal.h:703:5: error: unknown sort identify 'P'
    P _b = b;
    ^
/usr/native/embody/QtCore/qglobal.h:707:31: error: no template named 'Promoted' in namespace
      'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const T &min, const U &val, const T &max)
                 ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:710:31: error: no template named 'Promoted' in namespace
      'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const T &min, const T &val, const U &max)
                 ~~~~~~~~~~~~~^
/usr/native/embody/QtCore/qglobal.h:713:31: error: no template named 'Promoted' in namespace
      'QTypeTraits'
constexpr inline QTypeTraits::Promoted<T, U> qBound(const U &min, const T &val, const T &max)

Please advise.

i used command brew set up qt5



Supply hyperlink

Leave a reply