Hi buddies, I tried unsuccessfully today to install Nim version 1.6 "cleanly" on Windows 11. There was a hail of error messages.
I'm very happy if someone helps me to get over it. I did the following on a virgin Windows 11 system (running under VirtualBox): * Download choosenim-0.8.2_windows_amd64.exe * Windows initially blocked the download because it was a "dangerous" file. * I reported the file to MS as not dangerous and then downloaded the file anyway. * I Started a Powershell in admin mode (Win+X) and executed the following commands: * .choosenim-0.8.2_windows_amd64.exe update self * Info: Already up to date at version 0.8.2 * .choosenim-0.8.2_windows_amd64.exe stable --firstinstall * From this point on there was a flood of error messages. * I tried the whole thing again, but turned off Defender first. * Unfortunately, the error messages did not decrease. * For Output see Text below * I Started another powershell (because of Path) * nim -v * Output: * Nim compiler version 1.6.0 [Windows: amd64] * Compiled at 2021-10-19 * Copyright (c) 2006-2021 by Andreas Rumpf * active boot switches: -d:release PS C:UsersrtdieDownloads> .choosenim-0.8.2_windows_amd64.exe stable --firstinstall Downloading C compiler (Mingw64) [##################################################] 100.0% 0kb/s > Extracting mingw64.zip Downloading DLLs (openssl, pcre, ...) [##################################################] 100.0% 0kb/s > Extracting dlls.zip > > > Warning: Error copying 'cacert.pem' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\cacert.pem", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\cacert.pem")" > Warning: Error copying 'libcrypto-1_1-x64.dll' to 'C:Usersrtdie.nimblebin': > The system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\libcrypto-1_1-x64.dll", > > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\libcrypto-1_1-x64.dll")" > Warning: Error copying 'libcrypto-1_1.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\libcrypto-1_1.dll", > > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\libcrypto-1_1.dll")" > Warning: Error copying 'libcurl.dll' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\libcurl.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\libcurl.dll")" > Warning: Error copying 'libssl-1_1-x64.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\libssl-1_1-x64.dll", > > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\libssl-1_1-x64.dll")" > Warning: Error copying 'libssl-1_1.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\libssl-1_1.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\libssl-1_1.dll")" > Warning: Error copying 'pcre.dll' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pcre.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pcre.dll")" > Warning: Error copying 'pcre32.dll' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pcre32.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pcre32.dll")" > Warning: Error copying 'pcre64.dll' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pcre64.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pcre64.dll")" > Warning: Error copying 'pdcurses.dll' to 'C:Usersrtdie.nimblebin': The system > cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pdcurses.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pdcurses.dll")" > Warning: Error copying 'pdcurses32.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pdcurses32.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pdcurses32.dll")" > Warning: Error copying 'pdcurses64.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\pdcurses64.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\pdcurses64.dll")" > Warning: Error copying 'sqlite3_32.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\sqlite3_32.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\sqlite3_32.dll")" > Warning: Error copying 'sqlite3_64.dll' to 'C:Usersrtdie.nimblebin': The > system cannot find the path specified. > ... Additional info: > "("C:\\\\\\\Users\\\\\\\rtdie\\\\\\\AppData\\\\\\\Local\\\\\\\Temp\\\\\\\choosenim-dlls\\\\\\\sqlite3_64.dll", > "C:\\\\\\\Users\\\\\\\rtdie\\\\\\\\.nimble\\\\\\\bin\\\\\\\sqlite3_64.dll")" Downloading Nim 1.6.0 from nim-lang.org [##################################################] 100.0% 0kb/s > Extracting nim-1.6.0_x64.zip > Building Nim 1.6.0 > Compiler: Already built Installed component 'nim' Installed component > 'nimble' Installed component 'nimgrep' Installed component 'nimpretty' > Installed component 'nimsuggest' Installed component 'testament' Installed > component 'nim-gdb' Installed component 'gcc' Installed component 'g++' > Installed component 'gdb' > > Installed component 'ld' > > > Hint: Use 'choosenim <version/channel> \--firstInstall' to add > ... C:Usersrtdie.nimblebin to your PATH. > > > Switched to Nim 1.6.0 > > > Prompt: C:Usersrtdie.nimblebin is not in your PATH environment variable. > Should it be added permanently? [y/N] > Answer: y > Note: PATH changes will only take effect in new sessions. PS C:UsersrtdieDownloads>