Build EdgeTX on M1 Pro MAC : arm-none-eabi-gcc error #1627
Replies: 6 comments 4 replies
-
Try to set CMAKE_APPLE_SILICON_PROCESSOR to 'arm' before your build: export CMAKE_APPLE_SILICON_PROCESSOR=arm |
Beta Was this translation helpful? Give feedback.
-
Are you building main or the 2.6 branch? I can build main on my M1 with this:
(and then a "make firmware" or which target I want to build) |
Beta Was this translation helpful? Give feedback.
-
I am trying to build main branch (2.7.0) I may start over and try again the whole procedure... I don't know. |
Beta Was this translation helpful? Give feedback.
-
Ahh, I have also added the ARM toolchain to my path: "/Applications/ARM/bin" Try that :-) |
Beta Was this translation helpful? Give feedback.
-
OK, I managed to build Companion and simulator. It's running native on my M1 now 👍 |
Beta Was this translation helpful? Give feedback.
-
Good to hear that. They are nice machines, and pretty good development rigs 👍
Sendt fra min iPhone
… Den 25. feb. 2022 kl. 03.01 skrev Batambatam ***@***.***>:
OK, I managed to build Companion and simulator.
I first built Qt5.15.3 libs for Apple Silicon.
I followed instructions on this page : https://eric-pierce.com/compiling-nextcloud-for-apple-silicon/
Then I also had to copy my SDL 1.2.15 libs (brew arm64-monterey version) to /usr/local/lib/
It's running native on my M1 now 👍
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to build EdgeTX on a M1 Pro Mac and followed the instructions on this page :
https://github.com/EdgeTX/edgetx/wiki/Build-instructions-using-macOS-10.15-%28Catalina%29
Used this :
cmake -DPCB=X7 -DPCBREV=TPRO -DCMAKE_PREFIX_PATH=$QTDIR -DGCC_ARM_PATH=/Applications/ARM/bin/ -DPYTHON_EXECUTABLE=/usr/local/bin/python3 ..
But I keep having this error when
make firmware
:I do have the right CMakeLists.txt with CMAKE_HOST_APPLE
Tried setting an env variable
CMAKE_HOST_APPLE=1
but no luck either.Any help would be appreciated...
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions