Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qqJoker opened this issue Aug 30, 2023 · 1 comment

Comments

@qqJoker
Copy link

qqJoker commented Aug 30, 2023

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

@mysteryx93
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants