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

Cannot compile azul-text-layout due using old version of freetype #362

Open
qarmin opened this issue Jan 7, 2024 · 0 comments
Open

Cannot compile azul-text-layout due using old version of freetype #362

qarmin opened this issue Jan 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qarmin
Copy link

qarmin commented Jan 7, 2024

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)

@qarmin qarmin added the bug Something isn't working label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant