It fails when compiling check.c. I’ve debugged enough to see that you’ve harcoded using host as target and as a result it doesn’t see arm versions of ffmpeg libraries installed for cross compilation like so apt install libav-util:arm64.
Do you support cross-compilation?
And why is your build script so complex? sys crate supposed to just create bindings. You’re trying to compile ffmpeg for some reason… Can you elaborate on that?
I’m using ubuntu 22.04 LTS as a host.
Here’s the command I use.
It fails when compiling
check.c
. I’ve debugged enough to see that you’ve harcoded using host as target and as a result it doesn’t see arm versions of ffmpeg libraries installed for cross compilation like soapt install libav-util:arm64
.Do you support cross-compilation?
And why is your build script so complex?
sys
crate supposed to just create bindings. You’re trying to compile ffmpeg for some reason… Can you elaborate on that?