Cannot compile `azul-text-layout` due using old version of freetype
qarmin opened this issue · 0 comments
qarmin commented
Description
When trying to compile project on Ubuntu 22.04, with this dependencies
plotters = "0.3.5"
azul-text-layout = "0.0.4"
an error is visible
error: multiple packages link to native library `freetype`, but a native library can be linked only once
package `freetype-sys v0.13.1`
... which satisfies dependency `freetype-sys = "^0.13.0"` (locked to 0.13.1) of package `freetype v0.7.0`
... which satisfies dependency `freetype = "^0.7"` (locked to 0.7.0) of package `font-kit v0.11.0`
... which satisfies dependency `font-kit = "^0.11.0"` (locked to 0.11.0) of package `plotters v0.3.5`
... which satisfies dependency `plotters = "^0.3.5"` (locked to 0.3.5) of package `dbcore v1.1.0 (/home/rafal/Projekty/ap-600/dbcore)`
links to native library `freetype`
package `servo-freetype-sys v4.0.3`
... which satisfies dependency `servo-freetype-sys = "^4.0.2"` (locked to 4.0.3) of package `freetype v0.4.1`
... which satisfies dependency `freetype = "^0.4.1"` (locked to 0.4.1) of package `azul-text-layout v0.0.4`
... which satisfies dependency `azul-text-layout = "^0.0.4"` (locked to 0.0.4) of package `dbcore v1.1.0 (/home/rafal/Projekty/ap-600/dbcore)`
also links to native library `freetype`
Can azul-text-layout
be updated on crates.io to fix problem?(problem is probably fixed in git version which not depends on freetype)