Closed Lite5h4dow closed 5 years ago
You need ttf-0.2.10. The easiest way is to remove .nimble folder and install nimx with all dependencies again.
well now i did that and im getting this
nim c --threads:on main.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: system [Processing]
Hint: main [Processing]
main.nim(2, 12) Error: cannot open file: nimx\window
I am sorry if I was not clear enough, but you did not do what I said: remove .nimble folder (that you did do) and install nimx with all dependencies again - that means nimble install nimx. My solution is easiest for me, maybe not the most optimal. Nimble doesn't have an update function, and guessing which packages need updating because something is not working is really annoying, so I just reinstall them all. (I really wish nimble had sync function like pacman...)
Right. Please update https://github.com/yglukhov/ttf
I get this error
../../.nimble/pkgs/ttf-0.2.9/ttf/edtaa3func.nim(481, 33) Error: undeclared identifier: 'SomeReal'
after compiling
with
nim c -r --threads:on main.nim