What are the requirements on DLLs for simpleITK

Hello, sorry if this is not the right place to ask this.

I am attempting to write a program using SimpleITK (C#) that runs on our clinical machine using their API. The current process is that I create a class library that includes simpleitk, build my class library, and then transfer those DLLs to the clinical system.

With simple itk in particular I am getting an error: Unable to load DLL 'SimpleITKCSharpNative': The specified module could not be found. (Exception from HRESULT: 0x8007007E). From my understanding of this error, it is not necessarily that the Native library is missing, it is that it or any of its dependencies are missing. From my investigation it seems that maybe a C++ redistributable package installation is either out of date or missing from the clinical machine.

So my question is - what are the minimum requirements on installations that need to be present on a machine that will be running simpleITK?

Hopefully my question is clear, thanks

Did you compile the binary your self or download it?
It this error on your development system, ( presumable with C# SDKs ), or on a non-development workstations?

Thanks for the reply:

  1. I downloaded the latest binaries as of yesterday for Win 64

  2. SimpleITK works on my development system. It does notwork on the non-development workstation. To modify those workstations is a difficult process (potentially not allowed since they are considered medical devices - but I need more information to determine what I want done)…

Hopefully that is more clear

The binary distributions are built with MSVC v142 tool chain.. Which corresponds to Visual Studio 2019. This is the oldest VS compiler ITK supports.

Most likely the system is missing a new enough MS C++ redistribution library. You can find more information about it here:

2 Likes

Thank you that’s perfect

1 Like