-
Trying to follow the instructions to build for Raspberry Pi 64 bit, however failing with:
The image available via docker hub appears to be only for docker image inspect rocstreaming/toolchain-aarch64-linux-gnu gives:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, if you mean instructions from cookbook, they're for cross-compiling on x86_64 (amd64) host for aarch64 target. All docker images are built for x86_64 and have toolchains for cross-compiling to different targets. If you want to build on raspberry natively, you don't need cross-compilation toolchain, instead you can follow instructions in "Linux (from sources)" section. |
Beta Was this translation helpful? Give feedback.
-
Ooops yes that will teach me to start playing with new toys late at night! Obviously cross compile means to not use the rPi for compilation (an obviously stupid idea). Sorry about that! Ironically my laptop is also arm so I spun up a cloud instance to do it. Got it all working; amazing work! BTW just filed a pull request to resolve an issue I encountered while building roc-pulse. Sorry to waste your time with this one! |
Beta Was this translation helpful? Give feedback.
Hi, if you mean instructions from cookbook, they're for cross-compiling on x86_64 (amd64) host for aarch64 target. All docker images are built for x86_64 and have toolchains for cross-compiling to different targets.
If you want to build on raspberry natively, you don't need cross-compilation toolchain, instead you can follow instructions in "Linux (from sources)" section.