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 build because of failing custom build command(s) for libsqlite3-sys v0.25.2 #36

Open
aeternum-dev opened this issue Jul 12, 2023 · 4 comments

Comments

@aeternum-dev
Copy link

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
Copy link
Author

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

@sudipghimire533
Copy link
Owner

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
Copy link

7ih commented Oct 27, 2023

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
Copy link

Atrament1s commented Nov 10, 2023

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

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

4 participants