I've just installed ITK-SNAP nightly (itksnap-nightly-vtk9qt6-win64-AMD64.exe, dated
2022-08-10) today in two different machines, one running Windows 10 and another running Win 11 (both 64-bit).
Both failed starting the program while complaining about the missing DLLs below:
- MSVCP140D.dll
- VCRUNTIME140D.dll
- VCRUNTIME140_1D.dll
- ucrtbased.dll
Then I installed all possible MS C++ Redistributable packages (both x86 and x64 versions):
- Visual Studio 2015, 2017, 2019, and 2022
- Visual Studio 2013 (VC++ 12.0)
- Visual Studio 2012 (VC++ 11.0) Update 4
- Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported)
- Visual Studio 2008 (VC++ 9.0) SP1 (no longer supported)
- Visual Studio 2005 (VC++ 8.0) SP1 (no longer supported)
Rebooted and started ITK-SNAP again... to my surprise it failed to start with the same error messages.
Then I figured out that the C++ Redistributable packages (vcredist_x64.exe) packed with the ITK-SNAP setup archive was silently failing to install with the following error message (from the log file):
Error 0x80070666: Cannot install a product when a newer version is installed.
Then I noticed that my current installed version was v14.32.31332.0 (downloaded from the official site
here) and ITK-SNAP required version was v14.29.30135.
Now I removed v14.32 and installed v14.29 available from the "C:\Program Files\ITK-SNAP 4.0\bin" directory. But the problem persisted! Still complaining about missing dlls.
My question is: what do I need to do in order to run ITK-SNAP on Windows? Where the program is searching for those DLLs files? I have all these files installed on both Windows machines in every possible version. Also tried several previous version of the ITK setup from sourceforge without success. Is it possible to run ITK-SNAP from a Windows 10 or 11 machine? How? TIA.