ITK-SNAP won't run on Windows 10 or Windows 11, missing dlls

448 views
Skip to first unread message

bgeneto

unread,
Aug 10, 2022, 4:04:22 PM8/10/22
to itksnap-users
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.










mfk16

unread,
Nov 30, 2022, 3:35:30 PM11/30/22
to itksnap-users
Hi,

I just installed the 4.0 Beta from the website, and had the same errors with the missing DLLs:

- MSVCP140D.dll
- VCRUNTIME140D.dll
- VCRUNTIME140_1D.dll
- ucrtbased.dll

Is there a way to get it running without finding all of these packages for installation?

Thanks,

Matt

Jilei Hao

unread,
Nov 30, 2022, 4:21:28 PM11/30/22
to itksna...@googlegroups.com
Hi,

Try downloading the latest binary from here: https://sourceforge.net/projects/itk-snap/files/itk-snap/Nightly/

Best,
Jilei

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/itksnap-users/8d9b7795-09ca-4cc8-ba7e-c5592feeff4an%40googlegroups.com.

mfk16

unread,
Dec 1, 2022, 9:24:53 PM12/1/22
to itksnap-users
Thank you...the new installation worked.

I was able to load an .mhd file, but I was not able to load a DICOM series (see attached).

Do you have any suggestions to resolve this?

Thanks,

Matt



DICOMLoadFail.jpg

Jilei Hao

unread,
Dec 1, 2022, 9:30:01 PM12/1/22
to itksna...@googlegroups.com
Hi Matt,

Thanks for reporting the issue! Was the series openable by the 3.8 version? Can you share some example data?

Best,
Jilei

mfk16

unread,
Dec 1, 2022, 11:15:00 PM12/1/22
to itksnap-users
Hi,

Please see some attached sample images.

Thanks,

Matt

004_COR_PD.zip

mfk16

unread,
Dec 1, 2022, 11:16:04 PM12/1/22
to itksnap-users
Google goups would only let me attach a zip that contains 14 of the 30 original dcm images.

Thanks,

Matt

Jilei Hao

unread,
Dec 2, 2022, 3:28:17 PM12/2/22
to itksna...@googlegroups.com
I was able to reproduce the issue. Will investigate further. Thanks for sharing the data!

Best,
Jilei

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.

mfk16

unread,
Dec 2, 2022, 4:30:32 PM12/2/22
to itksnap-users
You're welcome. Please note that these are generated from a product pulse sequence and not any type of research pulse sequence.

-Matt

Reply all
Reply to author
Forward
0 new messages