Closed antoniocaruso closed 2 weeks ago
Hi @antoniocaruso. The "arm-none-eabi-gcc" compiler toolchain used to compile sketches for the Arduino Due board is only distributed in builds for "Intel" (x86) CPUs. This is not a significant problem for those of us with macOS machines that have Apple Silicon CPUs because Apple provides the Rosetta 2 binary translator that allows binaries built for x86 host architectures to run on Apple Silicon CPUs.
The reason why you encountered this error is because you don't have Rosetta 2 installed. macOS is smart enough to notify you that you need to install Rosetta 2 when you start an application that requires it. Unfortunately it is not smart enough to do that when Arduino IDE invokes an x86 executable (as it does when you compile for the Arduino Due).
So the solution will be for you to install Rosetta 2. You can do that by following the instructions here:
Yes solved but a native toolchain would be useful.
Describe the problem
Seems the binary for g++ is wrong.
Errore:
To reproduce
Expected behavior
Working.
Arduino IDE version
2.3.3
Operating system
macOS
Operating system version
Sequoia 15.0.1
Additional context
No response
Issue checklist