[Insight-users] Example crashes under Win2000/VC6

Luis Ibanez luis.ibanez at kitware.com
Fri Nov 26 19:13:15 EST 2004



Hi George,


What was the *exact* filename that you passed
to this program at run time ?

It is quite likely that you are passing a filename
corresponding to a fileformat that is not recognized
by ITK.


You will find details on this in the FAQ

        http://www.itk.org/Wiki/ITK_FAQ


In particular:

http://www.itk.org/Wiki/ITK_FAQ#I_got_the_message:_.22Could_not_create_IO_object_for_file.22



For a list of the fileformats supported by ITK,
please look at

http://www.itk.org/Wiki/ITK_FAQ#What_3D_file_formats_can_ITK_import_and_export.3F



Just for the record,
What is the *exact* name of the library for which
you got a warning message during the build ?

ITK doesn't need any external libraries for Input/Output.
All the libraries are already included in the /Utilities
subdirectory (e.g. JPEG, PNG, TIFF, GDCM, MetaImage...).


I would guess that the error message that you got is rather
related to the common mistake of mixing modules compiled
for Debug with modules compiled for Release.... but please
understand that there is not much that we can do if you
don't share the *exact* warning/error message with us.


If you continue experiencing any problems, please let us
know what version of ITK are you using.


   Regards,


      Luis



--------------------------
Li, George (NIH/NCI) wrote:

> I am a new ITK user. I have tried both cmake and VC6 compilers to run some
> of the sample code. I have a couple of questions and they might be related.
>  
> When I tried to run the sample code for registration #4, it was OK until 
> the very
> last statement of "writer->Update();" and the program crashed. When I 
> looked
> into the code, it seems a null pointer was involved. I have tried both 
> compilers
> and they behave identical, which leads the following thought.
>  
> FYI, during the build of the ITK in Window2000/VC6 environment, there was a
> warning message, complaining missing lib. I read the "InsightUserGuide" and
> find that some example/testing code requires additional libraries to 
> support. Is
> the warning message related to the additional lib? Where can I get it?
>  
> Thanks,
>  
> George
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users






More information about the Insight-users mailing list