Open WuJune opened 2 months ago
Describe the bug Error reported during mpv build following Linux Installation in jellyfin-mpv-shim on Linux
git clone https://github.com/mpv-player/mpv-build.git cd mpv-build echo --enable-libmpv-shared > mpv_options ./rebuild -j4 sudo ./install sudo ldconfig
shows
meson: error: unrecognized arguments: --enable-libmpv-shared
To Reproduce
sudo pip3 install --upgrade python-mpv sudo apt install autoconf automake libtool libharfbuzz-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrandr-dev libvdpau-dev libva-dev mesa-common-dev libegl1-mesa-dev yasm libasound2-dev libpulse-dev libuchardet-dev zlib1g-dev libfribidi-dev git libgnutls28-dev libgl1-mesa-dev libsdl2-dev cmake wget python g++ libluajit-5.1-dev git clone https://github.com/mpv-player/mpv-build.git cd mpv-build echo --enable-libmpv-shared > mpv_options ./rebuild -j4 sudo ./install sudo ldconfig
Desktop (please complete the following information):
Error Messages
Solution follow current mpv configure options in mpv-build
Building libmpv You can enable building libmpv by enabling the configure option: printf "%s\n" -Dlibmpv=true > mpv_options Note that this will make the mpv-build scripts also enable PIC for all used libraries. For this reason, be sure to run ./clean before rebuilding. The Debian packaging scripts do not currently support libmpv.
Building libmpv You can enable building libmpv by enabling the configure option:
printf "%s\n" -Dlibmpv=true > mpv_options
Note that this will make the mpv-build scripts also enable PIC for all used libraries. For this reason, be sure to run ./clean before rebuilding.
The Debian packaging scripts do not currently support libmpv.
use printf "%s\n" -Dlibmpv=true > mpv_options instead of echo --enable-libmpv-shared > mpv_options
echo --enable-libmpv-shared > mpv_options
Describe the bug Error reported during mpv build following Linux Installation in jellyfin-mpv-shim on Linux
shows
To Reproduce
Desktop (please complete the following information):
Error Messages
Solution follow current mpv configure options in mpv-build
use
printf "%s\n" -Dlibmpv=true > mpv_options
instead ofecho --enable-libmpv-shared > mpv_options