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

David Cole david.cole at kitware.com
Thu Apr 9 09:58:17 EDT 2009


When you say you "have this vtkGIPLReader based on the vtk 4.2" do you mean
you have it in a DLL that you built against VTK 4.2...? If so, and you want
to upgrade to a more recent VTK, you need to rebuild that DLL from its
source code using the new VTK headers and libraries.

If that is indeed what you are doing, and it worked with VTK 5.2, then it
was just luck that it happened to work.

Binary compatibility is not guaranteed across VTK releases.


Hope this helps,
David


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

>  Actally as I have this vtkGIPLReader based on the vtk 4.2..and I dunno if
> I there is any incompatibiltiy with the successive verions...but my overall
> software uses vtk 5.4 ...so this might generate the conflict? but I dont'
> get why I didn't have that error when I was on vtk 5.2
>
> Thank you so much.
> GC>
>
> ------------------------------
> Date: Thu, 9 Apr 2009 09:27:19 -0400
> Subject: Re: [vtkusers] error in updating to vtk 5.4.....
> From: david.cole at kitware.com
> To: ilferraresebono at hotmail.it
> CC: vtkusers at vtk.org
>
>
> 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
>
>
>
> ------------------------------
> È arrivato il nuovo Messenger! Provalo subito<http://clk.atdmt.com/GBL/go/140630365/direct/01/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090409/865265d6/attachment.htm>


More information about the vtkusers mailing list