mpv-player / mpv-build

🔨 Helper scripts to compile mpv on Linux
http://mpv.io
414 stars 108 forks source link

(Ubuntu) meson: error: unrecognized arguments: --enable-vapoursynth --enable-libmpv-shared #219

Closed mrkapqa closed 1 year ago

mrkapqa commented 1 year ago

Hello ,

am getting this error, but having meson and ninja installed via python3-pip.

please indicate me the right direction

make: Leaving directory '/home/rich/Programs/mpv-build/ffmpeg_build' Using mpv options: -Dc_link_args='-Wl,-Bsymbolic' --enable-vapoursynth --enable-libmpv-shared usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help} ... meson: error: unrecognized arguments: --enable-vapoursynth --enable-libmpv-shared

options.zip

Dudemanguy commented 1 year ago

Use meson conforming arguments: -Dvapoursynth=enabled and -Dlibmpv=true.

mrkapqa commented 1 year ago

did not include those, dont know what you mean,

building instructions were as follows

Dudemanguy commented 1 year ago

echo --enable-vapoursynth >> mpv_options echo --enable-libmpv-shared >> mpv_options

These are dated and from the old waf build. Pass meson conforming options instead like I said.

mrkapqa commented 1 year ago

ok, thanks, so would i then need to

echo -Dvapoursynth=enabled >> mpv_options echo -Dlibmpv=true >> mpv_options

would it function if instead would try with

BUILDSYSTEM=waf ./rebuild -j4 ?

EDIT:

seems to function, but then

sudo ./install fails?

mrkapqa commented 1 year ago

thanks, with your instructins it functioned.

all the best.