[vtkusers] ESP Error

Christian Leukel christianleukel at web.de
Thu Jul 31 08:37:01 EDT 2003


Hey!
I have a problem using vtk 4.2.1. In some cases I get the following error:
------------------------------------------------------------------------------------
File: i386/chkesp.c
Line: 42

The value of esp was not properly saved across a function call.
------------------------------------------------------------------------------------

I get the error when I try to set the filename of a vtkStructuredPointsReader:
vtkStructuredPointsReader *reader = vtkStructuredPointsReader::New();
reader->SetFileName("d:\\data.vtk");

I also get this error when I try to use this code:
compositeFunction = vtkVolumeRayCastCompositeFunction::New();
m_pVTKMapper->SetInput(pImageData);
m_pVTKMapper->SetVolumeRayCastFunction(compositeFunction);

Does it have something to do with _stdcall or _cdecl Calling Conventions? Is there a problem building vtk using Multitheaded DLL as Compiler option?

May be somebody can help me with this!

I'm using Win2000 as OS. Visual Studio 6 with wxWindows and VTK 4.2.1.

Thanks in advance
Chris
______________________________________________________________________________
Wo gibt es den besten Spam-Schutz? Laut ComputerBild 15-03 bei
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021122




More information about the vtkusers mailing list