-
Notifications
You must be signed in to change notification settings - Fork 21
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
Compile Issue #8
Comments
Which platform you are trying to compile on. If windows, I am also bit unsure and if in mac/linux then can you please refer to
Mac:
Installing mpv dev-dependencies might solve this. Give me an update after trying this ok? |
I tried to compile on Mac. It says something like this. error: could not compile |
It looks like you're missing Could you try installing |
It would seem you're missing NOTE: the |
Is the error the same after running The link says:
|
@BlakeZehner and @mark2185 . I was also unable to compile on windows. If you guys figure out what is the problem please let me know too. ( That is also the reason there is no windows binary in release ) |
On arch Linux is not working. I downloaded ytui_music-linux-amd64 and make it executable, but it does not run... any idea? |
@bambirombi what happens when you run it? Any error code, error message? Could you try building it from the source? |
@mark2185 when I try to run it gives me this: zsh: command not found: ytui_music Now I have tried: (I had rust installed) But I do not understand this step: The compiled binary is located in target/release/ directory. Copy the ytui_music binary and place it somewhere where it is easy to run. Preferrably under $PATH. |
The You need to put the binary into one of those folders, or create a new one and update your
This will move the binary to |
This steps does not work mv /path/to/downloaded/ytui_music-linux-amd64 ~/bin/ytui_music Gives: No such file or directory Is anyway of doing this manually, I mean, without using the terminal? So instead of that I tried moving "ytui_music-linux-amd64" to the bin folder but does not work. |
This was just a placeholder, you need to write the actual path to the downloaded binary. Something like
Well yes, you could use your file explorer if you'd like.
What exactly does "does not work" mean? Does it print out an error, does it explode, or something else? |
Thanks!!! It worked. Thanks for your patience. mkdir ~/bin ytui_music run |
@mark2185 Thanks for help buddy, I really appreciate it. And @bambirombi welcome to ytui- ;* |
For anybody receiving this compiler error when attempting to build on M1 or M2 MacOS:
the likely solution you require is:
or:
if you already have others. Homebrew installs libraries on M1 MacOS to a different location it seems, but the build works after this is set. This topic is discussed in further detail; Homebrew/brew#13481. |
= help: some
extern
functions couldn't be found; some native libraries may need to be installed or have their path specified= note: use the
-l
flag to specify native libraries to link= note: use the
cargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)error: could not compile
ytui_music
due to previous errorThe text was updated successfully, but these errors were encountered: