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

libfreetype-dev dependecy needed on Linux, missing from setup.md #318

Open
t-c-acc opened this issue May 9, 2024 · 0 comments
Open

libfreetype-dev dependecy needed on Linux, missing from setup.md #318

t-c-acc opened this issue May 9, 2024 · 0 comments

Comments

@t-c-acc
Copy link

t-c-acc commented May 9, 2024

Hi, I'm running Debian 12, cabal 3.10.3.0, and I was going to install monomer by running cabal run after adding monomer to my .cabal.

Cabal could not resolve dependencies until I installed libfreetype-dev.

This is the output of cabal gen-bounds

Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: guitests-0.1.0.0 (user goal)
[__1] trying: monomer-1.6.0.1 (dependency of guitests)
[__2] trying: nanovg-0.8.1.0 (dependency of monomer)
[__3] rejecting: nanovg:-stb_truetype (conflict: pkg-config package
freetype2-any, not found in the pkg-config database)
[__3] rejecting: nanovg:+stb_truetype (manual flag can only be changed
explicitly)
[__3] fail (backjumping, conflict set: nanovg, nanovg:stb_truetype)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: monomer, nanovg, nanovg:stb_truetype,
guitests
Try running with --minimize-conflict-set to improve the error message.

I'm opening this issue because this dependency (libfreetype-dev), or a way to avoid it, should be included in the setup tutorial (docs/tutorials/00-setup.md).

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

1 participant