-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
after cloning the git, I've tried to do bootstrapping as shown in the wiki but got the following error:
c:\Users\root\Nimrod\lib\pure\osproc.nim(323, 67) Error: type mismatch: got (seq
[string], openarray[string])
but expected one of:
&(x: string, y: char): string
&(x: char, y: char): string
&(x: string, y: string): string
&(x: char, y: string): string
&(x: T, y: seq[T]): seq[T]
&(x: seq[T], y: seq[T]): seq[T]
&(x: seq[T], y: T): seq[T]
FAILURE
after looking into the file I've do the following, changed:
if false: # poUseShell in options:
cmdl = buildCommandLine(getEnv("COMSPEC"), @["/c", command] & args)
else:
cmdl = buildCommandLine(command, args)
into:
#if false: # poUseShell in options:
# cmdl = buildCommandLine(getEnv("COMSPEC"), @["/c", command] & args)
#else:
cmdl = buildCommandLine(command, args)
because it produce the same effect, but now compiles.
now when I try again I get the following error (after rod/nimrod.exe is done - iteration 1):
Hint: operation successful (41491 lines compiled; 72 sec total) [SuccessX]
iteration: 2
Traceback (most recent call last)
koch.nim(195) koch
koch.nim(138) boot
koch.nim(123) bootIteration
os.nim(653) moveFile
os.nim(167) OSError
Error: unhandled exception: Access is denied.
[EOS]
P.S:
I've tested the newly compiled rod/nimrod.exe and it seems to work.