-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Cross-Compile Using MXE on Ubuntu 24.04 #14259
Comments
You can clone libplacebo source and put it in |
I have followed this step but not helping it out we have to find the way MXE should have that file or create make file in source (this is my assumption) any suggestion would be appreciated |
MXE is not supported and won't be until they add libplacebo for example. Also there is zero gain to use it, Meson can do all of it better already. |
Hi @kasper93 Thanks for your suggestion and help |
Important Information
Reproduction Steps
git clone https://github.com/mxe/mxe.git
cd mxe
echo "JOBS := 4" >> settings.mk
echo "MXE_TARGETS := x86_64-w64-mingw32.static" >> settings.mk
make gcc ffmpeg libass jpeg lua luajit
export PATH=/mxe/usr/bin:$PATH
git clone https://github.com/mpv-player/mpv.git
cd mpv
meson setup build --cross-file crossfile.txt -Dlibmpv=true
Expected Behavior
The build process should complete successfully with all dependencies properly resolved and compiled, resulting in a functional cross-compiled version of MPV.
Actual Behavior
The build process fails with the error indicating that the libplacebo dependency is not found. Attempts to use pkg-config and cmake to resolve this dependency have been unsuccessful.
Observed that MXE does not have a makefile for libplacebo.
Tried to link libplacebo manually but encountered the same error.
Log File
Observed that MXE does not have a makefile for libplacebo.
Tried to link libplacebo manually but encountered the same error.
crosstextfile.txt
[binaries]
c = 'x86_64-w64-mingw32.static-gcc'
cpp = 'x86_64-w64-mingw32.static-g++'
ar = 'x86_64-w64-mingw32.static-ar'
strip = 'x86_64-w64-mingw32.static-strip'
pkg-config = 'x86_64-w64-mingw32.static-pkg-config'
exe_wrapper = 'wine64'
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
I carefully read all instruction and confirm that I did the following:
The text was updated successfully, but these errors were encountered: