-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I'm trying to get nimedit to run on my Linux Mint, but I've been running on a series of problems. I downloaded the Linux version from here: https://nim-lang.org/nimedit/downloads.html
The first was that the executable could not load libSDL2.so. Creating a symlink solved this problem (unrelated to nimedit, but it was the same error)
After that, attempting to run it gave the error
Error: cannot open '$HOME/.nimble/lib/system.nim'
Looking for that file, I found it both under $HOME/.choosenim/toolchains/nim-1.4.8/lib/
and /usr/lib/nim/
Next, I've created the nimlib.cfg file suggested in the Download page. My file has this single line: /usr/lib/nim/
Now, whenver I try to run nimedit, it gives me the following error
usr/lib/nim/system.nim(42, 3) Error: implementation of 'ptr' expected
I could not find anything similar on different projects, so now I'm stuck. The error also happens if I use the /.choosenim folder. What should I do to fix this problem?
nim -v
Nim Compiler Version 1.4.8 [Linux: amd64]
Compiled at 2021-05-25
Copyright (c) 2006-2021 by Andreas Rumpf
git hash: 44e653a9314e1b8503f0fa4a8a34c3380b26fff3
active boot switches: -d:release
nimble -v
nimble v0.13.1 compiled at 2021-05-25 00:49:34
git hash: couldn't determine git hash