Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Cannot compile error: failed to select a version for gsk4-sys. #8

Closed
toger5 opened this issue Oct 7, 2020 · 1 comment
Closed

Cannot compile error: failed to select a version for gsk4-sys. #8

toger5 opened this issue Oct 7, 2020 · 1 comment

Comments

@toger5
Copy link

toger5 commented Oct 7, 2020

When trying to compile the exaplmes on fedora with gtk4-devel packes i get the following error:

error: failed to select a version for `gsk4-sys`.
    ... required by package `gtk4 v0.1.0 (https://github.com/gtk-rs/gtk4#8aeb9dce)`
    ... which is depended on by `gtk-rs-examples4 v0.0.1 (/home/timo/Programming/RustExperiments/examples4)`
versions that meet the requirements `*` are: 0.1.0

the package `gsk4-sys` links to the native library `gtk-4`, but it conflicts with a previous package which links to `gtk-4` as well:
package `gdk4-sys v0.1.0 (https://github.com/gtk-rs/sys#dbd887f1)`
    ... which is depended on by `gdk4 v0.1.0 (https://github.com/gtk-rs/gdk4#bf87233c)`
    ... which is depended on by `gtk-rs-examples4 v0.0.1 (/home/timo/Programming/RustExperiments/examples4)`

failed to select a version for `gsk4-sys` which could resolve this conflict
@bilelmoussaoui
Copy link
Member

This was fixed in the sys crates recently

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants