Skip to content

[Build for Windows] - Error on sqlite3.lib not found #6183

Discussion options

You must be logged in to vote

It's a bit annoying that diesel doesn't have this feature built-in if you ask me, but you can simulate it by adding this to your cargo.toml dependencies:

libsqlite3-sys = { version = ">=0.17.2, <0.26.0", features = ["bundled"] }

(the version range is taken from https://github.com/diesel-rs/diesel/blob/v2.0.3/diesel/Cargo.toml and you may have to update that on major diesel versions.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TristanPouliquen
Comment options

@FabianLars
Comment options

@TristanPouliquen
Comment options

Answer selected by TristanPouliquen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants