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

failed to select a version for raw-window-handle which could resolve this conflict #35

Open
binbard opened this issue Sep 23, 2024 · 2 comments

Comments

@binbard
Copy link

binbard commented Sep 23, 2024

D:\my-app\src-tauri>cargo add tauri_egui
Updating crates.io index
warning: translating tauri_egui to tauri-egui
Adding tauri-egui v0.3.0 to dependencies
Updating crates.io index
error: failed to select a version for raw-window-handle.
... required by package eframe v0.27.0
... which satisfies dependency eframe = "^0.27.0" of package cendex v0.1.0 (D:\my-app\src-tauri)
versions that meet the requirements ^0.5.2 are: 0.5.2

all possible versions conflict with previously selected packages.

previously selected package raw-window-handle v0.5.0
... which satisfies dependency raw-window-handle = "=0.5.0" of package tauri v2.0.0-alpha.4
... which satisfies dependency tauri = "=2.0.0-alpha.4" of package tauri-egui v0.3.0
... which satisfies dependency tauri-egui = "^0.3.0" of package cendex v0.1.0 (D:\my-app\src-tauri)

failed to select a version for raw-window-handle which could resolve this conflict

D:\my-app\src-tauri>

@binbard
Copy link
Author

binbard commented Sep 23, 2024

[dependencies]
eframe = "0.28.1"
tauri-egui = "0.3.0"

@FabianLars
Copy link
Member

I think this counts as a duplicate of #18 - If you use tauri-egui you're currently stuck with pretty old versions: https://github.com/tauri-apps/tauri-egui/blob/dev/Cargo.toml (your versions must match the tauri-egui ones :/ )

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

2 participants