Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4501

C/C++ • Healthy man's cross-compilation workflow

$
0
0
Hello. I ran into the necessity of compiling OpenCV for Cortex-A53 (Pi Zero 2W). The problem is that it’s a very complex program with many dependencies (I need bindings for Python3 and almost none of the modules). My main system is Arch Linux, and I created an Incus container with Debian Bookworm. I took the toolchain from the abhiTronix project, sprinkled it with libraries taken directly from Raspbian installed on the device, and somehow managed to compile it. Then I ran into a bunch of installation issues. Obviously, this is a nightmare, and this is not the right way to do it.

But how should it be done?

Statistics: Posted by shara — Sun Nov 17, 2024 12:00 am — Replies 1 — Views 54



Viewing all articles
Browse latest Browse all 4501

Trending Articles