tauri-plugin-sqlite icon indicating copy to clipboard operation
tauri-plugin-sqlite copied to clipboard

Gtk-sys conflict

Open Thisishemmit opened this issue 11 months ago • 0 comments

bun run tauri dev
$ tauri dev Running BeforeDevCommand (bun run dev) $ vite

VITE v5.1.6 ready in 606 ms

➜ Local: http://localhost:1420/ ➜ Network: use --host to expose Info Watching /workspaces/bostan-centre/src-tauri for changes... Updating git repository https://github.com/lzdyes/tauri-plugin-sqlite Updating crates.io index error: failed to select a version for gtk-sys. ... required by package gtk v0.15.1 ... which satisfies dependency gtk = "^0.15" of package tauri v1.0.0-rc.8 ... which satisfies dependency tauri = "^1.0.0-rc.8" of package tauri-plugin-sqlite v0.1.0 (https://github.com/lzdyes/tauri-plugin-sqlite?tag=v0.1.1#3d09a5a9) ... which satisfies git dependency tauri-plugin-sqlite of package bostan-centre v0.0.0 (/workspaces/bostan-centre/src-tauri) versions that meet the requirements ^0.15.1 are: 0.15.3, 0.15.1

the package gtk-sys links to the native library gtk-3, but it conflicts with a previous package which links to gtk-3 as well: package gtk-sys v0.18.0 ... which satisfies dependency ffi = "^0.18" (locked to 0.18.0) of package gtk v0.18.1 ... which satisfies dependency gtk = "^0.18" (locked to 0.18.1) of package tauri v2.0.0-beta.10 ... which satisfies dependency tauri = "^2.0.0-beta" (locked to 2.0.0-beta.10) of package bostan-centre v0.0.0 (/workspaces/bostan-centre/src-tauri) Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links = "gtk-3" value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for gtk-sys which could resolve this conflict Terminated error: script "tauri" exited with code 101

Thisishemmit avatar Mar 13 '24 15:03 Thisishemmit