ParadoxSpiral / libmpv-rs

A libmpv abstraction written in rust that's easy to use and provides the ability to read next to all video and audio codecs.
GNU Lesser General Public License v2.1
99 stars 35 forks source link

`VersionMismatch` with mpv v0.36.0 #35

Open marco-04 opened 9 months ago

marco-04 commented 9 months ago

On mpv 0.36.0 (shipped on Arch Linux) I get a VersionMismatch { linked: 65644, loaded: 131073 } when trying to start up mpv

Atreyagaurav commented 3 months ago

Error on version 0.38.0 on Arch.

The way to build it seems to require the whole mpv-build repo. Some way to only compile the libmpv-sys or something would be nice.

Atreyagaurav commented 3 months ago

I solved it by copying the header files from /usr/include/mpv/ into the include directory of the libmpv-sys that it has. A way to have an option to change that would be nice.