[Insight-users] Run-Time Check Failure

Dominique Belhachemi domibel at cs.tu-berlin.de
Sun Feb 20 16:48:57 EST 2005


Julien, 
your are right. 
I recompiled the whole itk20 stuff. Now it works fine.

Thx for your help.
Dominique


----- Original Message ----- 
From: "Julien Jomier" <jjomier at cs.unc.edu>
To: "Dominique Belhachemi" <domibel at cs.tu-berlin.de>
Cc: <insight-users at itk.org>
Sent: Sunday, February 20, 2005 5:36 AM
Subject: Re: [Insight-users] Run-Time Check Failure


> Hi Dominique,
> 
> I just tried with ITK cvs, MSVC 6.0 and your program runs fine.
> This sounds like a mix of compilations. Did you recently update ITK? Can 
> you try to do a clean build?
> 
> Let us know if that was the problem,
> 
> Julien
> 
> Dominique Belhachemi wrote:
>> Dear list-members,
>> 
>> 
>> Problem under Windows - Visual Studio-compiled program stops with 
>> runtime-error
>> 
>> Debug-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."
>> 
>> caused by cylinderSpatialObject::SetRadius / 
>> cylinderSpatialObject::SetHeight method-calls... What is the problem?
>> Tried out different calling-conventions -
>> but none of them seems to work - only _cdecl compiles
>> gcc has no problems with that
>> 
>> 
>> Best regards
>> Dominique
>


More information about the Insight-users mailing list