Open SiddaramMavinamar opened 5 months ago
https://github.com/shinchiro/mpv-winbuild-cmake/blob/master/packages/mpv.cmake
my question is how to build Cross compile mpv in simple steps using https://github.com/shinchiro/mpv-winbuild-cmake
Tried all possible ways as i know but stuck with build failed
@zhongfly Could you please provide solution to build cross compile mpv with [-Dgpl=false], i tried MXE too got below error libplacebo not found https://github.com/mpv-player/mpv/issues/14259
Isn't it dup of https://github.com/shinchiro/mpv-winbuild-cmake/issues/586 ?
Isn't it dup of #586 ? @hooke007 No // First, I am not able to build the cross-compile which needs to generate MPV. // After successfully building MPV, I will then proceed to apply the GPL part. // My question is: please suggest steps to cross-compile, whether using MXE or CMake. // In MXE, I found that liblacebo is not found since they don't have a makefile for it. // I don't have much idea about creating a makefile (mk file) because I am new to Linux.
Please suggest In details steps , it would be greatly appreciated i tried below steps for UBUNTU 24.04
apt-get install build-essential checkinstall bison flex gettext git mercurial subversion ninja-build gyp cmake yasm nasm automake pkgconf libtool libtool-bin gcc-multilib g++-multilib clang lld libc++1 libc++abi1 libgmp-dev libmpfr-dev libmpc-dev libgcrypt-dev gperf ragel texinfo autopoint re2c asciidoc python3-pip docbook2x unzip p7zip-full curl mimalloc ccache
Compiling with GCC got failed Example:
cmake -DTARGET_ARCH=x86_64-w64-mingw32 \ -DGCC_ARCH=x86-64-v3 \ -DSINGLE_SOURCE_LOCATION="/home/user/packages" \ -DRUSTUP_LOCATION="/home/user/install_rustup" \ -G Ninja -B build64 -S mpv-winbuild-cmake