[vtkusers] "vtkCommonCore-6.0.dll is missing from your computer".

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Jan 24 16:59:36 EST 2014


On Fri, Jan 24, 2014 at 11:08 AM, hiliwi <hiliwi.leake at gmail.com> wrote:
> Dear all VTK users,
>
> I am new user to ITK/VTK. I installed both ITK_4.5 and VTK_6.0 using Cmake
> 2.8 on windows in Visual studio 2012. I used the examples CMakeLists.text
> and myProgram.cxx given in the ITK_VTK guide to test and build a project. I
> didn't get any error while I was creating and building the project.
>
> the problems comes when I tried to execute the built project using image
> input. it is giving me an error "vtkCommonCore-6.0.dll is missing from your
> computer".
>
> could anyone help me please?

Windows has no RPATH concept, and so will only look for DLLs in the
same directory as your executable or in your PATH. You should figure
out where the DLLs are and add that to your PATH in the current shell.
When packaging you can either statically link, or package the
executable with DLLs in the same directory.

Marcus


More information about the vtkusers mailing list