Native Windows binaries using MSYS2
It appears as if the natively compiled OpenFOAM package using MSYS2 and MinGW compilers/toolchain, requires admin rights. This is counterproductive as anyone having admin privileges would rather WSL immediately. Trying to install the package on a Windows machine without the admin rights leads to the infamous
path/to/folder/v2106/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2106/platforms/win64MingwDPInt32Opt/bin/blockMesh.exe: error while loading shared libraries: libstdc++-6.dll: cannot open shared object file: No such file or directory
errors and others as I have explained here. MSYS2 folks tried helping me here on their Discord server, to no avail. The MSYS2 now updates, but we are stuck at
msmpi dependency. It would be great if you could
- provide a temporary workaround to solve the missing
- update/upgrade the underlying MSYS2 layer of the package
- provide some versions without MPI or use the MSYS2/MinGW native packages over externally installed ones.