sudipghimire533 / ytui-music

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

Cannot build because of failing custom build command(s) for `libsqlite3-sys v0.25.2` #36

Open aeternum-dev opened 12 months ago

aeternum-dev commented 12 months ago

Hello, it's kind of my first ever issue, so bare with me.

I was trying to build the newest release on Windows, but I got the following error, sayining that custom build commands failed to run: image

aeternum-dev commented 12 months ago

Is this project even ongoing anymore? I saw open PRs, without commentary from the repo owner.

sudipghimire533 commented 11 months ago

Sorry people, i am quite caught up in work, but i tried quickly in below setup, is working fine. if you still have problem let me know and i will try to look and if you found a workaround also post it here for others <3

ubuntu@ubuntu:~/Projects/ytui-music$ mpv --version
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
ffmpeg version: 4.2.7-0ubuntu0.1

ubuntu@ubuntu:~/Projects/ytui-music$ openssl version
OpenSSL 1.1.1f  31 Mar 2020
ubuntu@ubuntu:~/Projects/ytui-music$ cargo --version
cargo 1.69.0 (6e9a83356 2023-04-12)
ubuntu@ubuntu:~/Projects/ytui-music$
7ih commented 8 months ago

I had the same issue, fix by going to config\Cargo.toml and apply the following patch (not sure if this will cause problems with the program):

[package]
name = "config"
version = "2.0.0-beta"
edition = "2021"

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
dirs = "4.0"
lazy_static = "1.4.0"
rand = "0.8"
- rusqlite = { version = "0.28", features = ["bundled", "extra_check", "winsqlite3"] }
+ rusqlite = { version = "0.29", features = ["bundled", "extra_check"] }

[lib]
name = "config"
path = "src/lib.rs"

However now i'm getting another error when building. I would appreciate if someone could find a fix. (I have mpv installed) fatal error LNK1181: cannot open input file 'mpv.lib'

Atrament1s commented 8 months ago

Same issue here, 7ih's change did remove the original error, but ended up getting the same error they got.