On the download page, it says that the Windows installers "have some known 
issues and so will unlikely to be provided further in the future" \- and that 
"We now encourage you to install via the provided zipfiles", so I wanted to do 
that.

So I decided to start fresh and removed my previous installation.

There's a link to mingw-w64.org somewhere else on the page, but I could find no 
real instructions or recommendations on how or where to get a working GCC 
installation - especially not on their website, which lists dozens of 
distributions with different versions etc. and still no recommendation on which 
one to get.

Somewhere else on the page, it says "GCC is recommended on Linux and Clang on 
Mac. The Windows installers above already includes a C compiler" \- but the 
Windows installers aren't recommended, so that's not very helpful.

I finally decided on MSYS2, and found instructions on stackoverflow for 
installation:

[http://stackoverflow.com/a/30071634/283851](http://stackoverflow.com/a/30071634/283851)

I've never used MSYS2 - to be honest, I'm not completely sure I even understand 
what it is, or why I had to install it. It's like Bash for Windows, kind of 
like Git Bash?

I also had to figure out where it actually installs the GCC binary, because it 
doesn't add the folder to the system path, so the GCC command could not be run 
from a normal Windows shell.

Well, I finally have it working, I think - at least, typing "gcc -v" outputs 
"gcc version 6.2.0 (Rev2, Built by MSYS2 project)", so far so good, right?

Unzipped nim and ran "finish.exe", and this is where I'm stuck - it says "No 
compatible MingW candidates found in the standard locations".

However, if I try to compile something, it seems to work?? I type "nim c 
koch.nim" for example, it compiles, and emits a "koch.exe".

Both "install_tools.nims" and "install_nimble.nims" seemed to fully compile and 
execute with the "nim e" command, so I'm not sure what the error-message from 
"finish.exe" is even about.

Do I need to do anything else, or do I have a working setup now?

If you want more Windows users to try nim, I really think you need to provide 
more complete installation instructions - it took me hours to get a working 
setup. You seem to assume that most users have a working C compiler setup 
already, which most Windows users likely do not.

In fact, most Windows users will give up if you don't provide a working 
"setup.exe", because that's what we're used to. Most of us don't have or use 
(or want) command-line package managers - it's not really "a thing" on Windows.

And yes, we're pampered that way - but most successful languages do ship with a 
"setup.exe" for Windows users, so that's just what we're used to.

Either way, if you want us to install not only nim but it's dependencies 
manually, please do try to provide complete instructions. 

Reply via email to