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

error: none of the selected packages contains this feature: libmpv_build #48

Open
CarterSnich opened this issue Dec 10, 2024 · 2 comments

Comments

@CarterSnich
Copy link

Tried to build, I'm getting an error:

error: none of the selected packages contains this feature: libmpv_build
selected packages: ytui_music, config, fetcher
@CarterSnich
Copy link
Author

README should be updated. I had to change
MPV_BUILD=mpv-build/ cargo build --all --release --features libmpv_build
to
MPV_BUILD=mpv-build/ cargo build --all --release --features build_libmpv.
For some reason, that's the issue.

Also, install libssl-dev (I'm on Debian 12), cos I'm getting error about openssl. Thankfully, there's comprehensive message after the error suggesting to install the said package.

Lastly, I got this error: env var MPV_SOURCE not set: NotPresent.
I simply added an env that links to my mpv

So my final build command is:

MPV_SOURCE=/usr/bin/mpv MPV_BUILD=mpv-build/ cargo build --all --release --features build_libmpv

@sudipghimire533
Copy link
Owner

Thanks updated the readme. I will check MPV_SOURCE later on

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