gtk-rs / examples4

DEPRECATED, use https://github.com/gtk-rs/gtk4-rs repository instead!
MIT License
16 stars 4 forks source link

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

Closed toger5 closed 4 years ago

toger5 commented 4 years ago

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 commented 4 years ago

This was fixed in the sys crates recently