Closed tomlister closed 2 years ago
I think I know why this happens. Try removing -passL:"static" from nim.cfg and try building it again from the root directory. Not sure if you were in the right directory when building before. If this doesn't fix it I'll reach out to the nim community and see what's going on.
I think I know why this happens. Try removing -passL:"static" from nim.cfg and try building it again from the root directory. Not sure if you were in the right directory when building before. If this doesn't fix it I'll reach out to the nim community and see what's going on.
Hi, thanks for the suggestion.
It still doesn't work.
Here are some errors from the language server.
Odd.. I haven't updated nim in some time, so I'm not sure what the latest version is. Perhaps @ajusa knows something about this?
Well it looks like it isn't picking up iface
for some reason... I'll try and take a look sometime soon (tonight or tomorrow). There might have been a change from Nim 1.4 to 1.6 causing this somehow? If it's mac only I won't be much help.
For context
nimble: nimble v0.13.1 compiled at 2021-11-29 03:26:59
nim: Nim Compiler Version 1.6.0 [MacOSX: amd64]
I can reproduce Linux, so that's something. Must be an issue with iface on 1.6, I'll open an issue in iface if the Nim Discord can't debug it.
For now, if you can choosenim 1.4.8
and then run nimble install
that should let you at least build it using the older version of Nim.
EDIT: Here's the iface issue: https://github.com/yglukhov/iface/issues/13
It's not a super active project for yglukhov so we may also want to consider moving back to dynamic dispatch/method
. If that's the case, I'll make a PR @TurtleP, since I was the one to move to iface
in the first place :sweat_smile:
I see. iface is like interface in golang I switched to 1.4.8, seems to work
Alright, with the latest iface (nimble uninstall iface
then do a nimble install
this issue has been fixed for Nim 1.6. I verified that I could compile everything on my machine as well. @TurtleP you can close this now.
Software Version
0.5.3 (Latest)
What Happened?
nimble build
What was Expected?
For it to build.
Operating System
macOS
Operating System Version
macOS Big Sur
Code of Conduct