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

cannot cross compile using mpv-build scripts #8

Closed
Abu-Abdullah opened this issue Aug 30, 2013 · 4 comments
Closed

cannot cross compile using mpv-build scripts #8

Abu-Abdullah opened this issue Aug 30, 2013 · 4 comments

Comments

@Abu-Abdullah
Copy link

./scripts/mpv-config --enable-cross-compile --target=i686-w64-mingw32

will start to ask about libass and ffmpeg libraries eventhough it will just work fine without cross-compile

@ghost
Copy link

ghost commented Aug 30, 2013

mpv-builkd is simply not meant for cross-compiling. Look at DOCS/crosscompile-mingw.txt instead (in the mpv main repo) how to cross-compile mpv. These instructions use MXE, which makes a somewhat decent package manager, and can do much more than mpv-build.

The reason mpv-build doesn't work here is that you'd have to cross-compile libass and ffmpeg too. You'd quickly run into trouble with all the dependencies, and MXE handles all that automagically.

@ghost ghost closed this as completed Aug 30, 2013
@Abu-Abdullah
Copy link
Author

I do not want to use more other libraries than mingw-w64 since it comes with fedora and it is supported by them.
You can use "./configure --enable-cross-compile --target=i686-w64-mingw32" but it will look for installed libass and ffmpeg libraries. default mplayer is just compiling everything every time unless you want to compile it separately.

@ghost
Copy link

ghost commented Aug 30, 2013

Well, yes, you need to enable cross compilation for ffmpeg and libass too. These are two more, completely different build systems, so I'm not sure what's required to make them do that.

If you want an automagic solution, use MXE and the instructions I pointed you to. Otherwise, you're on your own, as in, you have to know what you're doing.

@Abu-Abdullah
Copy link
Author

thanks for fast responses

This issue was closed.
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

1 participant