dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
682 stars 65 forks source link

Fails to copy dlls when nimble dir not existing #281

Open dom96 opened 2 years ago

dom96 commented 2 years ago

https://forum.nim-lang.org/t/8511#55159

rtdietrich commented 2 years ago

To be exact: It's not the .nimble Dir, it's the bin Dir inside .nimble. Create /.nimble/bin before using choosenim and the command choosenim stable --firstinstall is running without any warning on Windows 11

KMiNT21 commented 2 years ago

Faced the same bug on Windows 10. Just run again choosenim-0.8.2_windows_amd64.exe stable and this time dlls was copied.

creikey commented 2 years ago

I ran into a bug caused by this where nimsuggest fails to launch because it can't find pthreads, solved by manually adding mingw64/bin to my path. Would be really great if this were fixed, caused a couple hours of wasted time. Not sure if this is the source of my issue?

dom96 commented 2 years ago

@creikey afaik that's a separate issue. Choosenim only installs these DLLs http://nim-lang.org/download/dlls.zip. If nimsuggest requires that DLL then it should likely be included in that zip. Can you make an issue in the Nim repo about it?

anonsven commented 7 months ago

To be exact: It's not the .nimble Dir, it's the bin Dir inside .nimble. Create /.nimble/bin before using choosenim and the command choosenim stable --firstinstall is running without any warning on Windows 11

also works in Windows 10, Thanks!