[Insight-users] debugging problem

Wen Shi wsa18 at sfu.ca
Wed Mar 4 15:51:00 EST 2009


Hi All,

I just start with ITK.
I build up the example code called myProject.cpp from "GettingStarted-I.pdf".
I successfully build up the project via VS 2005 compiler using CMake.
Then I successfully build all the three projects(BUILD-ALL, myProject..) in the solution.
But when I tried to debug I got the following errors:

First-chance exception at 0x7c812a5b in myProject.exe: Microsoft C++ exception: itk::ImageFileReaderException at memory location 0x0133fbbc..
Unhandled exception at 0x7c812a5b in myProject.exe: Microsoft C++ exception: itk::ImageFileReaderException at memory location 0x0133fbbc..
First-chance exception at 0x7c812a5b in myProject.exe: Microsoft C++ exception: itk::ImageFileReaderException at memory location 0x0133f8d0..
First-chance exception at 0x7c812a5b in myProject.exe: Microsoft C++ exception: itk::ImageFileReaderException at memory location 0x0133fb78..
Unhandled exception at 0x7c812a5b in myProject.exe: Microsoft C++ exception: itk::ImageFileReaderException at memory location 0x0133fb78..
First-chance exception at 0x00411de2 in myProject.exe: 0xC0000005: Access violation reading location 0x00000000.
Unhandled exception at 0x00411de2 in myProject.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00411de2 in myProject.exe: 0xC0000005: Access violation reading location 0x00000000.
Unhandled exception at 0x00411de2 in myProject.exe: 0xC0000005: Access violation reading location 0x00000000. 

It seems to me that those are not the ITK technology errors, BUt it's memory violation errors.
Could someone give me some suggestions on this, Maybe I improperly initialized the ITK library.

Many Thanks.

Wen SHi  


More information about the Insight-users mailing list