Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running it on Linux Mint - Error: implementation of 'ptr' expected on system.nim #19

Open
bonezinger opened this issue Sep 20, 2021 · 1 comment

Comments

@bonezinger
Copy link

bonezinger commented 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

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
@bonezinger 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
@Araq
Copy link
Owner

Araq commented Sep 21, 2021

Sorry, at this point nimedit is not supported. Maybe I'll revive it, maybe I won't. Use VSCode instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants