[Insight-users] Running error with SegmentationEditor

Joshua Cates cates@sci.utah.edu
Wed, 9 Oct 2002 10:28:54 -0600 (MDT)


Hi Yanjun,

Are you running this example on Windows? 

Josh.

______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates


On Wed, 9 Oct 2002, Xu, Yanjun wrote:

> Hi, Dear All,
>  
> I'm trying to run SegmentationEditor. I succeeded in running data and
> preprocess module. While I was running the segmenter module, the program
> always stopped abnormally in this function. 
>  
> void vtkWSLookupTableManager::LoadTreeFile(const char* fn)
> {
> .
> .
> .
>   // now read the data
>   in.read((char *)(this->MergeList + 1), listsz * sizeof(merge_t));
>  
>   if (in.gcount() != listsz *sizeof(merge_t))
>     {
>       vtkErrorMacro(<<"Error reading " << fn << ". File size does not match
> header size.");
>       exit(-1);
> >>>> stop here
>     }
>  
>   in.close();
>  
> .
> .
> .
> }
>  
> Could anybody help to solve this problem? Thanks a lot.
>  
> Sincerely,
> Yanjun
>  
>