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

C/C++ • Cross compile for Ubuntu 22.04 ...

$
0
0
I wrote some software that runs on Ubuntu (among other OSs. I have a working Cmake project to build it.

I have a Rasberry Pi 4 that is not booting properly running Ubuntu 22.04. So far, I get errors when trying to run the software that I have tried to cross-compile.

My problem is getting a working cross-compile environment to build my software on a Ubuntu 22.04 x86_64 host, and build it so that it will un on Ubuntu 22.04 ARM64, using Gnu C++ (g++ version 11.04).

Can anyone tell me what Gnu compiler settings/ARM64 C++ libs/ etc are needed to cross-compile (from an x86_64 host) for Ubuntu 22.04 running on Rasberry Pi 4?

Alternatively, is there someplace where I can download a working Cmake toolchain congiguration file, and assocated ARM64 c++ libs to build for Ubuntu 22.04 running on Rasberry Pi 4?

Thanks in advance for any help you can offer.

Statistics: Posted by Mediawizard — Sat Feb 08, 2025 8:40 pm — Replies 1 — Views 33



Viewing all articles
Browse latest Browse all 4776

Trending Articles