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

Build error on new Macroquad version #14

Closed
Zageron opened this issue Jan 31, 2022 · 3 comments
Closed

Build error on new Macroquad version #14

Zageron opened this issue Jan 31, 2022 · 3 comments

Comments

@Zageron
Copy link

Zageron commented Jan 31, 2022

error: failed to select a version for `miniquad`.
    ... required by package `egui-miniquad v0.8.0`
    ... which satisfies dependency `egui-miniquad = "^0.8.0"` of package `egui-macroquad v0.8.0`
    ... which satisfies dependency `egui-macroquad = "^0.8.0"` of package `rrr-render v0.0.1 (L:\git\flashflashrevolution\games\rrr\crates\render)`
versions that meet the requirements `=0.3.0-alpha.43` are: 0.3.0-alpha.43

all possible versions conflict with previously selected packages.

  previously selected package `miniquad v0.3.0-alpha.42`
    ... which satisfies dependency `miniquad = "=0.3.0-alpha.42"` of package `macroquad v0.3.13`
    ... which satisfies dependency `macroquad = "^0.3.13"` of package `rrr-render v0.0.1 (L:\git\flashflashrevolution\games\rrr\crates\render)`

failed to select a version for `miniquad` which could resolve this conflict
[dependencies]
rrr = { path = "../rrr", version = "0.0.1" }
egui = "0.16.1"
egui-macroquad = "0.8.0"
macroquad = { version = "0.3.13", default-features = false }

The change is macroquad 0.3.6 to 0.3.13.
I'm not sure if this is a egui dependency declaration problem, or a macroquad/miniquad one, or if it's me.

@caspianmerlin
Copy link

Same issue here as well.

@optozorax
Copy link
Owner

Hi, sorry for the late answer. I think the problem is in the latest macroquad (https://github.com/not-fl3/macroquad/blob/master/Cargo.toml#L29) which requires exactly miniquad = 42, but egui-miniquad (https://github.com/not-fl3/egui-miniquad/blob/master/Cargo.toml#L23) requires exactly miniquad = 43. So, there is the conflict. At the time I made a release, everything worked.

I will try make an issue in the macroquad repo.

@optozorax
Copy link
Owner

Fixed in new version.

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

3 participants