https://github.com/nim-lang/Nim/issues/10971
The problem is hard to describe and even harder to search for. Any ideas?
The way I got around this in the past was to symlink my dependencies into project's directory. That way, to Nim, they are all part of the same package. But I'm trying to standardize -- to go the Nim Way. This is a big problem.
Obviously, if I install my C sub-dependencies, then everything is fine. I know where the .h and .so files are. But I am taking advantage of Nim's {.compile "foo.c".} pragma.
const ttmathPath = currentSourcePath.rsplit(DirSep, 1)[0]
{.passC: "-I" & ttmathPath.}
Is that really our best solution? I think that should be add automatically by nim c