BtbN
BtbN
They for some reason decide to override the libdir to some extremely broken non-standard something on 32bit: https://github.com/oneapi-src/oneVPL/blob/e460e62f978f4dad304b08cc2914a02ffbc4a5f0/cmake/oneAPIInstallDirs.cmake#L11
The standard way would be to rely on GNUInstallDirs and let the user override to their desired location during configure-time. Deviating from defaults like that is not very pretty, and...
FFmpeg itself does not set it at all, and just expected pkg-config to work correctly. This set of scripts just hardcodes it to the usual defaults: https://github.com/BtbN/FFmpeg-Builds/blob/master/images/base-win64/Dockerfile#L35 So far everything...
Host system is Linux, inside of an Ubuntu 22.04 docker container. You can find the whole setup here: https://github.com/BtbN/FFmpeg-Builds/ The relevant bits: https://github.com/BtbN/FFmpeg-Builds/blob/master/images/base/Dockerfile#L20 https://github.com/BtbN/FFmpeg-Builds/blob/master/images/base-win64/Dockerfile#L22 https://github.com/BtbN/FFmpeg-Builds/blob/master/scripts.d/50-rav1e.sh
Is there any update to this? I'm still unable to cross-compile latest rav1e.
I am setting the linker, from that very variable: https://github.com/BtbN/FFmpeg-Builds/blob/master/scripts.d/50-rav1e.sh#L45 Or is there some other undocumented way to set the linker?
I have now tried multiple versions of that, in all cases the config.toml was unchanged: Only setting CC and CXX results in this: ``` #0 97.35 Compiling rav1e v0.5.0 (/stage/rav1e)...
The base image is as up to date as it can get. It's Ubuntu 22.04, and rust has been freshly installed via rustup, so is even more up to date...
Oh, I see what you mean now with libz. The reason the linker hates that is quite simple: /opt/ffbuild is the cross-prefix. So /opt/ffbuild/lib/libz.a is for Windows, and apparently rust...
Unsetting PKG_CONFIG_PATH/LIBDIR so it doesn't find the cross environments libs anymore solves that issue. But I'm not sure if that can be called a fix, or merely a workaround that...