You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
bonezinger
changed the title
Problem running it on Linux Mint
Problem running it on Linux Mint - Error: implementation of 'ptr' expected on system.nim
Sep 20, 2021
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
nimble -v
The text was updated successfully, but these errors were encountered: