[vtkusers] VTK-6.1.0 migration problem
Marcus D. Hanwell
marcus.hanwell at kitware.com
Mon Mar 17 07:59:57 EDT 2014
Hi,
On Wed, Mar 12, 2014 at 6:35 AM, <antonioreyes at gmail.com> wrote:
> Hi,
> I'm trying to migrate one Project from vtk-5.10.1 to vtk 6.1.0. My Project
> is dependent from both ITK and VTK. I just copy-pasted the cmakelist.txt
> files and everything compiled without any problems. However, when I try to
> run any application, I get the message saying that the system cannot find
> whatever dll from VTK is needed (depending on the application, it's one or
> another). It seems there is a linking problem, although I don't know why,
> since the configuration of the Project didn't change at all. I also changed
> my Visual Studio versión from 11 to 12 (2012 to 2013).
>
> Did anyone have the same issue? Can anyone help me in solving the problem?
>
This looks like the typical issue on Windows that the executable must
be in the same directory as the DLLs, or the DLLs must be in your
PATH. Most other platforms have the concept of an RPATH or similar
that can be set in the executable - Windows lacks this feature.
Can you confirm that your executable is in the same directory as the
DLLs that are listed as missing, or examine your PATH to confirm the
correct directory containing the DLLs is present?
Marcus
More information about the vtkusers
mailing list