Skip to content

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

@bonezinger

Description

@bonezinger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions