-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
What to do after MPV-Build on Linux #68
Comments
Update: I've added the .a files for libav I've compiled into the "libraries" binding.gyp and it compiled fully. However I'm now getting undefined symbols errors i.e:
When I try to run the App |
Probably you forgot to enable libmpv. |
What do you mean? --enable-libmpv-shared? That just generates the .so one which I can't use because it's a non static one. Either way I did that and included the same .a files still same error. I'll retry in a sec it in case I missed something |
Try with |
This is into the mpv_options file right? Because I did that and got this error: Main commands (example: ./waf build -j4) One of the options in there just had enable infront of it which was: |
Wait, I think I know |
I didn't have the newly created libmpv.a in binding.gyp but after adding it I get errors during buld now which are:
Edit: I'm looking into the fPIC flag |
Looked into the fPIC flag which is not a valid flag for mpv_options. The closest was Any ideas? |
Update on this tried adding `scripting.c:302: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Waf: Leaving directory |
You can ask in https://github.com/mpv-player/mpv how to compile static libmpv. |
Ok I've asked the question there! Hopefully we might get somewhere! Was documenting here so that it might help someone attempting this later |
Can you tell me how to compile libmpv for linux x64 and arm64, I can’t run it after compiling |
Hi,
This is slightly linked to my previous issue #67 I added a while back but there hasn't been any response to it. So I've tried to see if I can attempt it either way but I am not sure where to go from here. This is related to this:
Compile static libmpv.so with e.g. mpv-build.
I've compiled with mpv build as instructed on that git. But I don't really know where to go from here. How do I link to this newly compiled one?
Hopefully someone has a solution to this as a project of mine is on standstill due to this sadly.
Thanks
The text was updated successfully, but these errors were encountered: