[vtkusers] error in updating to vtk 5.4.....

David Cole david.cole at kitware.com
Thu Apr 9 09:27:19 EDT 2009


This is probably a "wrong dlls being loaded" problem... (From the message, I
infer you are building with Visual Studio and running on Windows.)
If you run it in the debugger, observe the full path name of the VTK dlls
being loaded and make sure they are the VTK 5.4 dlls that you think they
are/should be.

This message manifests itself when somebody builds their application against
a VTK 5.4, but then loads different VTK dlls (usually because of a path in
the system PATH env var).

To fix it, remove the other VTK dlls, change your PATH env var, or set the
PATH such that the VTK 5.4 dlls get loaded first.....


HTH,
David


On Thu, Apr 9, 2009 at 7:00 AM, Giancarlo Amati
<ilferraresebono at hotmail.it>wrote:

>  Hello guys,
>
> I have my own library called vtkGIPLReader which reads the GIPL format of
> an MRI scan. now the problem I think is that that class has been written in
> with VTK 4.2 and never updated. Now, before updating my vtk from 5.2 to 5.4
> today, everything was fine with the vtkGIPLreader, but now, I got this
> really strange RUN TIME message:
>
> Run-Time Check Failure #0 - The value of ESP was not properly saved across
> a function call.  This is usually a result of calling a function declared
> with one calling convention with a function pointer declared with a
> different calling convention.
>
> What is this about?
>
> Kind regards.
> Giancarlo Amati
>
> ------------------------------
> Il remix esclusivo di Messenger. Scaricalo gratis!<http://clk.atdmt.com/GBL/go/140630362/direct/01/>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090409/28c69b02/attachment.htm>


More information about the vtkusers mailing list