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

Gtk-sys conflict #11

Open
Thisishemmit opened this issue Mar 13, 2024 · 0 comments
Open

Gtk-sys conflict #11

Thisishemmit opened this issue Mar 13, 2024 · 0 comments

Comments

@Thisishemmit
Copy link

Thisishemmit commented Mar 13, 2024

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

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

1 participant