This is a weird, recurring error that seems related to the .compile pragma.
I still haven't figured out why exactly it happens; but it doesn't output anything at all, even with --verbosity set to maximum.
This is the last case where it happened:
import os
{.passC: "-I" & parentDir(currentSourcePath()) .}
{.compile("linenoise/linenoise.c", "-I" & parentDir(currentSourcePath())).}
The actually C source compiles fine when I do it directly. But this is most definitely the line the line that causes the above error.
Any ideas?
I had the same weird error in some "random" cases when I was using Nim 1.7.1 compiler (devel), while the Nim repo (stdlib) on my machine was on the 1.6 branch.
Fixed by changing the branch to devel.
See if maybe something trivial like this is in happening in your case too.