Hi all, I was looking for Nim as a scripting language and after a while i found Nimcr. I currently have it working, but i am amazed with the amount of problems to get it working.
I used nimble to install the package (never had problems with nimble) but it gave an error: 15:56:00,43 C:\Users\Dippo\Dropbox\NIM>nimble install nimcr Downloading https://github.com/PMunch/nimcr using git Error: unhandled exception: Unable to query remote tags for https://github.com/P Munch/nimcr. Git returned: fatal: unable to access 'https://github.com/PMunch/ni mcr/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol v ersion I first thought that the url was not correct so i : 15:56:29,25 C:\Users\Dippo\Dropbox\NIM>nimble install https://github.com/PMunch/ nimcr Error: 'hg' not in PATH. I searched for Error: 'hg' not in PATH on the web and i found that it's a SSL error. There was not solution to solve this (perhaps on Linux, but not in Windows). So i manualy installed (copy paste) the code. So, now i can compile the code: 16:32:41,21 C:\Users\Dippo\Dropbox\NIM>nim c -d:release nimcr.nim Hint: used config file 'C:\nim-0.17.2\config\nim.cfg' [Conf] Hint: system [Processing] Hint: nimcr [Processing] Hint: os [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] Hint: math [Processing] Hint: algorithm [Processing] Hint: times [Processing] Hint: winlean [Processing] Hint: dynlib [Processing] Hint: ospaths [Processing] Hint: osproc [Processing] Hint: strtabs [Processing] Hint: hashes [Processing] Hint: streams [Processing] Hint: cpuinfo [Processing] nimcr.nim(46, 17) Error: expression 'execShellCmd("attrib +H " & exeName)' is of type 'int' and has to be discarded I first was a bit confused with this error, but i found out that : discard execShellCmd("attrib +H " & exeName) this is the correct code. The discard is not in the original code. Can somebody look at these errors and perhaps tell me what goes wrong. I tooked me 1 hour to get this (tiny) package working. Greetings, Dippo