Subject: CGAL users discussion list
List archive
- From: "Toyonaga, Noah" <>
- To:
- Subject: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors
- Date: Tue, 23 Mar 2021 12:31:17 -0700
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-hdrordr: A9a23:ebRdRKqZuJ2XqsSK+DwnApAaV5qWeYIsi2QD101hICF9WMqeisyogbAnxQb54QxhP00ItPKhHO27QX3a/YNo+oV5B92fdSTvpWfAFvAA0aLM2Dvlchefysd49YNNN5dzE8fxC18St6fHyS21CcwpztXC0I3Av5a9815XQQtna75t4m5CY27xLmRNWAJECZAlfaDsg/ZvmjzIQwVyUu2LQlcAG8zOvcfCmp6jWwMPGhJP0mWzpALtxrj9HR2Vmjo9cxcK+7ct9mDZjxf0j5/Pj9iLjjHb0WHX49BtnMb5juFEGNeHhqEuRQnEu0KSaI5sW6KPsVkOzt2S1A==
- Ironport-phdr: A9a23:JLGvtR+j86J6av9uWa68ngc9DhMPi/DPJgcQr6AfoPdwSMyLwZ3uMQTl6Ol3ixeRBMOHsqMC0raI+Pm4AyQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagZb5+Ngi6oArQu8UZnIduNrg9wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9Drx2vpxJxzY3Jbo+LKPVzZbnScc8ASGdbQspdSy5MD4WhZIUPFeoBOuNYopHzq1UQqhu/BQ6sBOX1xT9HnHD6xbAx3fwmEQ7c3AwsEc8FvXPIrNXyNKYSVua1w7PHzTrZdP5W1i3x6IjSfRA7v/GDR6hwftfLxUYxCgzFk0ydpIr4NDyayuoDqXKU7/Z8Ve2xkW4nrRl8rDexy8oojoTEiZ4YxF/L+yh5wIg7K9O2RU1nbNOlEJVdtiGUOpZqT888TW9lpSY0x6AYtZO6cyUG1popyh7cZvGBboOG7BXjVOOLLjd5gnJoYK6whxmo/kik0OH8UdO00FlMoyFYkdfMrmgA2wLP5sWDUPdw/Ues1SyR2wzN9+1IO104mKjaJpMn37U+jIAcsV7ZES/zgEj2jLGZdkEj+uWw7uToeLTmppuFO49qiQHyL70imsKiDek6MwUCRWeb+eO71L3s+U32Xq9GgeExkqncqJzaJMIbqbClAwJNzIov9xKyAy2l3dkYh3ULMkxJdA+dg4T0OVzDIej0DfKljFStlDdryerGPrrkApjVMnjDl7fgfbF760FGxwo818tS551OBrEBOv3zQFHxu8bCDhAkKQC73fvoCMhl2oMERW2PGrOZML/VsVKQ+u0vLPODZIsMtDngKvgl/OLhjWIimV8GZqSpxpsWaHWgHvt8OUmZYHzsgs0AEWgQpAY+Qvbq2xW+VmtYaH+2Gq49/TomE5mODIHZR4nrjqbS8j28G8gcWmdXDVaFHn6sP6ODUvdGIHaOJd5mlDULXJCuDY8ozw+nrgO8xrZ6eLmHshYEvI7ugYAmr9bYkgs/oGQcJ/TY6HmESiRPpk1NXyU/tIhw50x00EmKy6Q+jvBFR4Q7z8MMaR8zMNvn98I/DtnzXgzbedLhYFngQty8HzgrQpQ8z8JcOi5VK5CZlhnGmhGSLfoVmriMbLQx+6PYmmbyfoNzkimYkqYmiFYiT41EMmj03sZC
Hello,
I am trying to install CGAL on my new computer and running into some problems apparently due to QT5 compilation. I am running Mac OS 11.0.1 (Big Sur).
What I've done:
- Install `CGAL` using `brew`
- Install `Qt5` using `brew install`
Both of these complete without any errors. My problem arises when I try to build a demo, specifically `Triangle` as suggested on the CGAL website.
I get the following long set of error, all apparently due to compiling Qt5.
In file included from /opt/homebrew/include/QtCore/qalgorithms.h:43:
/opt/homebrew/include/QtCore/qglobal.h:667:65: error: expected '>'
typename = std::enable_if_t<std::is_arithmetic_v<T> && std::is_arithmetic_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:667:65: error: expected ',' or '>' in template-parameter-list
/opt/homebrew/include/QtCore/qglobal.h:668:66: error: expected unqualified-id
std::is_floating_point_v<T> == std::is_floating_point_v<U> &&
^
/opt/homebrew/include/QtCore/qglobal.h:679:35: error: no type named 'Promoted' in namespace
'QTypeTraits::detail'
using Promoted = typename detail::Promoted<T, U>::type;
~~~~~~~~~~~~~~~~~^~~~~~~~
/opt/homebrew/include/QtCore/qglobal.h:679:43: error: expected ';' after alias declaration
using Promoted = typename detail::Promoted<T, U>::type;
^
/opt/homebrew/include/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)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:693:28: error: no template named 'Promoted' in namespace 'QTypeTraits'
using P = QTypeTraits::Promoted<T, U>;
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:694:5: error: unknown type name 'P'
P _a = a;
^
/opt/homebrew/include/QtCore/qglobal.h:695:5: error: unknown type name 'P'
P _b = b;
^
/opt/homebrew/include/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)
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:701:28: error: no template named 'Promoted' in namespace 'QTypeTraits'
using P = QTypeTraits::Promoted<T, U>;
~~~~~~~~~~~~~^
/opt/homebrew/include/QtCore/qglobal.h:702:5: error: unknown type name 'P'
P _a = a;
^
/opt/homebrew/include/QtCore/qglobal.h:703:5: error: unknown type name 'P'
P _b = b;
^
/opt/homebrew/include/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)
~~~~~~~~~~~~~^
/opt/homebrew/include/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)
~~~~~~~~~~~~~^
/opt/homebrew/include/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)
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Any guidance would be much appreciated!
Thank you!
Noah
- [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Toyonaga, Noah, 03/23/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Kabir Kedia, 03/23/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Toyonaga, Noah, 03/23/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Kabir Kedia, 03/24/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Maxime Gimeno, 03/24/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Maxime Gimeno, 03/24/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Maxime Gimeno, 03/24/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Kabir Kedia, 03/24/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Toyonaga, Noah, 03/23/2021
- Re: [cgal-discuss] Installing CGAL on M1 Mac QT5 errors, Kabir Kedia, 03/23/2021
Archive powered by MHonArc 2.6.19+.