[TUTORIAL] Cross compile for RaspberryPi 4 from MAC
-
wrote on 13 Dec 2021, 17:40 last edited by
Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.
-
Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.
@Giridhar said in Should I make a tutorial?:
Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.
I look forward to it!
-
@Giridhar said in Should I make a tutorial?:
Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.
I look forward to it!
wrote on 17 Dec 2021, 10:02 last edited byOk, this is the link to the tutorial.
https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile
As I said, I will update it in my free time. There is only a problem: I deleted the configuration folder so I need some days to prepare everything again. I will do it with the 6.2.2 version.
-
wrote on 17 Dec 2021, 10:08 last edited by
This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!
-
This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!
wrote on 17 Dec 2021, 13:05 last edited by@artwaw said in Should I make a tutorial?:
This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!
Yes, I used the same approach for the latest 6 months. The input lag is to hateful.
-
wrote on 26 Dec 2021, 16:02 last edited by Giridhar
Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.
EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D
-
Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.
EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D
@Giridhar said in Should I make a tutorial?:
Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.
EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D
You have nothing to apologize for! :D Finding and fixing problems is part of a programmer's life.
All the best.
-
wrote on 7 Jan 2022, 14:39 last edited by Giridhar 1 Jul 2022, 15:37
There is a good news. I compiled a Qt Project from MacOS to raspberry pi using Cmake instead of Qmake.
BTW I'm still making the tutorial to make the cross-compile environment. -
wrote on 21 Mar 2022, 03:33 last edited byThis post is deleted!
-
wrote on 14 Nov 2024, 02:19 last edited by
Any updates to this tutorial? Trying on an M4 Mac and the crosstool-ng build is crapping out when trying to build
make
. -
wrote on 14 Nov 2024, 02:29 last edited byThis post is deleted!