-
Notifications
You must be signed in to change notification settings - Fork 89
Build failure of the new bindgen-based bindings #43
Comments
@retrry any ideas? |
Building with the
Re-running with
So, to sum up, building with the system ffmpeg isn't working (both 64-bit and 32-bit with a similar error), and also building with 32-bit non-system ffmpeg isn't working. |
So at the moment for me it seems, that include paths are not found on ArchLinux and other distributions. @meh maybe you know why include paths wouldn't be found? If I understand correctly include_paths variable is empty. So my search includes function is wrong and always returns empty string. |
So I looked a bit more and pkg-config returns empty include_pats Vec. I still don't know which layer is broken - pkg-config-rs or pkg-config. Are there other ways of looking for include paths? Or I should just hardcode /usr/include, when it is returned as empty Vec, as it should work on most Linux distributions (I'm on NixOS and pkg-config seems to be returning include_paths correctly). |
Sorry for taking so long to test this. Building with system FFMpeg is now fixed, building with non-system FFMpeg still works for 64-bit, but it still fails for 32-bit:
|
It seems that you are trying to build 32-bit on 64-bit machine via cross-compiling? I don't think cross-compiling was supported and I don't have enough knowledge about it. @meh did cross-compiling ever work? |
I am, and I can actually build FFMpeg fine with the right Here's the |
Arch Linux x64, ffmpeg 1:3.3.2-1, 9d63d3b
cargo build
gives me:The text was updated successfully, but these errors were encountered: