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

nimterop/globals.nim(8, 18) Error: cannot open file: compiler/ast #273

Open
HJarausch opened this issue Mar 31, 2021 · 2 comments
Open

nimterop/globals.nim(8, 18) Error: cannot open file: compiler/ast #273

HJarausch opened this issue Mar 31, 2021 · 2 comments

Comments

@HJarausch
Copy link

Hi,
I have just cloned the repository. nimble build -d:danger fails with

Error: cannot open file: compiler/ast

Error: Build failed for package: nimterop
... Execution failed with exit code 1
... Command: /usr/bin/nim c --colors:on --noNimblePath -d:danger -d:NimblePkgVersion=0.6.13

--path:/home/jarausch/.nimble/pkgs/regex-0.19.0 --path:/home/jarausch/.nimble/pkgs/unicodedb-0.9.0

--path:/home/jarausch/.nimble/pkgs/cligen-1.3.2 --hints:off -o:/home/jarausch/Nim_My/nimterop/nimterop/toast

/home/jarausch/Nim_My/nimterop/nimterop/toast.nim

What am I missing?
Thanks,
Helmut

@genotrance
Copy link
Collaborator

How have you installed Nim? You need the $nim/compiler directory without which nimterop won't build.

@pvharmo
Copy link

pvharmo commented Aug 8, 2021

I had the same problem because I installed Nim with apt on Ubuntu 20.04. The installed version of Nim was 1.0. When I installed the latest version (1.4.8), the build worked.

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

3 participants