mpv-player/mpv-build

Custom build can't load Lua scripts

pjotrek-b opened this issue · 2 comments

This is the 1st time I'm building my own mpv.
I've followed the instructions on https://github.com/mpv-player/mpv-build.

Build is successful, but:

When I start mpv, it complains that a Lua script (perfectly working in v0.32) is now considered unknown:

Can't load unknown script: /home/user/.config/mpv/scripts/hires_port.lua

Is there anything I could put in mpv_option (or add a missing dependency) to make this work (again)?
Thank you very much! 😄

(OS= Xubuntu 20.04.6)

You've built without Lua support, make sure either Lua5.1, Lua5.2 or Luajit (including the -dev packages) are installed at build time, then rebuild.

Thanks @CounterPillow! 🥳
Indeed, this did the trick: sudo apt install liblua5.1-0-dev

I was surprised not to see any mention of Lua libs in the dependency list of the build instructions?