[Insight-users] Strange error running ITKApps

John Drescher drescherjm at gmail.com
Tue Sep 11 11:16:32 EDT 2012


On Tue, Sep 11, 2012 at 9:05 AM, Zein Salah <zeinsalah at gmail.com> wrote:
> Hi,
>
> I am experienceing a trange error when I run some of the insight applications,
> igstk examples, or even some of my own programs.
>
> If I execute within visual studio (2008), I get a message that the program has
> stopped and windown is searching for a solution for the problem. Then a message
>  comes saying the "A problem causes the program to stop working correctly.
> Windows will close the program and notify you if a solution is
> available", with options
> to either Debug or close the program.
>
> If I run the programs by clicking the executable file from the
> release/debug directories,
> I get the message in the attachment. BTW, this same message comes by running
> insight application, igstk examples, or my program and is always
> referring to the
> same fltk file.
>
> Any idea what the problem is?
>

Are you mixing compilers or mixing Debug and Release in the same
application. Remember that with Visual Studio you it is not generally
safe to mix compiler versions or use Release DLLs in a debug
application or Debug DLLs in a Release application.

John


More information about the Insight-users mailing list