MediaPlayerUI.NET icon indicating copy to clipboard operation
MediaPlayerUI.NET copied to clipboard

Build MediaPlayer.Avalonia.Sample error : "Unable to load DLL 'libmpv.2' "

Open qqJoker opened this issue 1 year ago • 1 comments

After I downloaded the source code, I failed to compile the Avalonia.Sample project. According to the error message, I was missing a DLL file named libmpv.2, but I did not find this dll file in the dll library, and in the mpv project, I found that this The dll file has been renamed to mpv-2.dll, I don't know if this dll file is missing. image

qqJoker avatar Aug 30 '23 02:08 qqJoker

The MPV implementation is not completed. See the TODO list https://github.com/mysteryx93/LibMpv-OpenGL#contributions-wanted

As for your particular error, there are various DLL resolvers here for various OS. It looks like it's trying to load the Linux file name for some reason. https://github.com/mysteryx93/LibMpv-OpenGL/blob/main/Src/LibMpv/Core/Helpers/Resolvers/WindowsFunctionResolver.cs

mysteryx93 avatar Aug 30 '23 16:08 mysteryx93