sudipghimire533 / ytui-music

Youtube client in terminal for music ( lightweight youtube client )
GNU General Public License v2.0
467 stars 19 forks source link

can not run on macOS after building from source #24

Open sirlaurie opened 1 year ago

sirlaurie commented 1 year ago

macOS: 13.2.1 (22D68) rustc 1.67.1

I built from source step by step according to the README.

error message: ➜ RUST_BACKTRACE=full ./target/release/ytui_music run > __ ___ _ _ > \ \ / / |_ _ _(_) _ __ ___ _ _ ___(_) ___ > \ V /| __| | | | |_____| '_ ` _ \| | | / __| |/ __| > | | | |_| |_| | |_____| | | | | | |_| \__ \ | (__ > |_| \__|\__,_|_| |_| |_| |_|\__,_|___/_|\___| > > Author(s): Sudip Ghimire > > thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: VersionMismatch { linked: 65644, loaded: 131072 }', front-end/src/ui/utils.rs:496:38 > stack backtrace: > 0: 0x104a360c4 - ::fmt::h77a3f883b881e197 > 1: 0x10495cc2c - core::fmt::write::hfe6f93d759ccd95a > 2: 0x104a1c560 - std::io::Write::write_fmt::h71789c72c0e637c1 > 3: 0x104a35e10 - std::sys_common::backtrace::print::h4e2277b8eaab21a0 > 4: 0x104a2e0c8 - std::panicking::default_hook::{{closure}}::hdbbe4474ff2bfccd > 5: 0x104a2ddc8 - std::panicking::default_hook::hfe3a9cc61ee4ffb6 > 6: 0x104a2eb48 - std::panicking::rust_panic_with_hook::h980b0940bb63c408 > 7: 0x104a36790 - std::panicking::begin_panic_handler::{{closure}}::h13fa53a0067274f4 > 8: 0x104a36700 - std::sys_common::backtrace::__rust_end_short_backtrace::h99b7fc1de0b3fb76 > 9: 0x104a2e750 - _rust_begin_unwind > 10: 0x104a98ff4 - core::panicking::panic_fmt::h69eebccea18044bb > 11: 0x104a99298 - core::result::unwrap_failed::h049089b55ce83478 > 12: 0x104936a00 - ytui_music::main::h0d854573e0d94976 > 13: 0x104a69318 - std::sys_common::backtrace::__rust_begin_short_backtrace::h826d7f4b35d468ba > 14: 0x1049377ac - _main > zsh: abort RUST_BACKTRACE=full ./target/release/ytui_music run
here is some info you may need: ➜ otool -L ./target/release/ytui_music > ./target/release/ytui_music: > /opt/homebrew/lib/libmpv.2.dylib (compatibility version 2.0.0, current version 2.0.0) > /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 60420.60.24) > /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0) > /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current version 346.0.0) > /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
JohnBardoe commented 1 year ago

Same for me on linux

aeternum-dev commented 12 months ago

I am on Windows, can't even build it. I get the following error while compiling: image