Open FedericoCeratto opened 5 years ago
cc @Michal-Szczepaniak
Now you got a warning
D:\QQPCmgr\Desktop\Nim>nim c -r ttest.nim
Hint: used config file 'C:\Users\blue\.choosenim\toolchains\nim-#devel\config\config.nims' [Conf]
Hint: used config file 'D:\QQPCmgr\Desktop\Nim\ttest.nim.cfg' [Conf]
Warning: JSON processing failed: cannot open: C:\Users\blue\.choosenim\toolchains\nim-#devel\config\nim.cfg
....
D:\QQPCmgr\Desktop\Nim\ttest.nim(1, 8) Error: cannot open file: tables
Now you got a waring
what does nim c -r -f ttest.nim
give?
(asking because the warning may depend on whether -f is passed)
When nim.cfg is not found (e.g. it's still /etc/nim.cfg) the compiler fails to find the stdlib:
A hint or warning would be nice:
Hint: no config files found. It is recommended to create '/etc/nim/nim.cfg'