After discovering that the c2nim tool requires 0.10.3 of nim, I cloned the devel branch and followed the instructions on the github repo page.
After all the compiling and stuffs, I get this when putting nim -v
$ nim -v
Nim Compiler Version 0.10.2 (2015-03-01) [MacOSX: amd64]
Copyright (c) 2006-2014 by Andreas Rumpf
active boot switches: -d:release
And obviously I am having the latest version. Yet it is still 0.10.2, and I cannot get c2nim to compile.
So how can I obtain version 0.10.3?
Problem solved. After doing a
which nim
I find that nim is linked to an older version for some reason (I assume it is because I forgot to finish the last step of installation).
so it is because of my own stupidity, should have checked this before posting.
$ ./nim -v
Nim Compiler Version 0.10.3 (2015-03-01) [MacOSX: amd64]
Copyright (c) 2006-2015 by Andreas Rumpf
active boot switches: -d:release