Cura Build Environment fails to compile on M1.
it seems to have something to do with some of the dependencies not knowing what to do with an ARM64 architecture.
"___chkstk_darwin", referenced from:
_sgemv_ in libopenblasp-r0.3.13.a(sgemv.o)
_sger_ in libopenblasp-r0.3.13.a(sger.o)
_cblas_sgemv in libopenblasp-r0.3.13.a(cblas_sgemv.o)
_cblas_sger in libopenblasp-r0.3.13.a(cblas_sger.o)
_dgemv_ in libopenblasp-r0.3.13.a(dgemv.o)
_dger_ in libopenblasp-r0.3.13.a(dger.o)
_cblas_dgemv in libopenblasp-r0.3.13.a(cblas_dgemv.o)
...
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make[4]: *** [libopenblasp-r0.3.13.dylib] Error 1
make[3]: *** [shared] Error 2
make[2]: *** [OpenBLAS-prefix/src/OpenBLAS-stamp/OpenBLAS-build] Error 2
make[1]: *** [CMakeFiles/OpenBLAS.dir/all] Error 2```
It's usually errors like these.
We currently can't support M1, since Qt doesn't support M1 yet. Sorry!
We compile Cura on Catalina at the moment.
how about now? Qt supports the M1 now.
how about now? Qt supports the M1 now.
Version 6.2 does, we are on 5.15.2
Python needs to be upgraded too, since M1 support starts from 3.9.
A few problematic incompatibilities with this Qt upgrade are:
- QtQuick Controls 1 has been removed (used in ~150 QML files, so this is huge).
- QtGraphicalEffects has been removed, which we use for all recoloured icons.
- The
restoreModefor bindings in the settings list. Probably very easy to fix.
Oh, and also PyQt6 is still on Qt 6.1. We'll need them to support Qt 6.2 too!