treeform / fidget

Figma based UI library for nim, with HTML and OpenGL backends.
MIT License
763 stars 32 forks source link

Fix compilation #154

Closed kaushalmodi closed 2 years ago

kaushalmodi commented 3 years ago

This commit fixes this compilation error when trying to compile one of the tests: tests/httpget:

src/fidget/openglbackend.nim(81, 38) Error: ambiguous identifier: 'fonts' -- use one of the following:
  common.fonts: Table[system.string, font.Font]
  @m..@s..@s..@s..@s..@s.nimble@spkgs@spixie-1.2.0@spixie@sfonts.nim.fonts:

Fixes https://github.com/treeform/fidget/issues/153 .

pcarbonn commented 2 years ago

Any reason why this Pull Request has not yet been merged ? And the other pending PRs ?

More generally, is this project still alive ?

treeform commented 2 years ago

The tests/httpget compiles. Please update fidget, pixie and typography. Some people have reported nimble is not working for them, I recommend you nimble uninstall and nimble install each one.

The current github actions compile: https://github.com/treeform/fidget/commit/6f6aec77a9e675d89f9bfa4c86d0b4188f7a912a

If you do a clean install of the packages it should work for you too.