[Insight-users] Why does itkImageFileReader cause crash for
	vtkPolyDataReader?
    Bill Lorensen 
    bill.lorensen at gmail.com
       
    Tue Feb 26 19:50:52 EST 2008
    
    
  
Yin,
I tried your program with Visual Studio 2001, ITK cvs and VTK5. It
compiled and linked just fine. Can you post the errors you see?
Bill
On Tue, Feb 26, 2008 at 4:22 PM, Yin Yin <yinyinreal at yahoo.com> wrote:
>
> The following simple piece of code can compile on my Windows VS C++ 2003.
>
> #include <itkImageFileReader.h>
> #include <vtkPolyDataReader.h>
> bool main(int argc, char* argv[]){
>  vtkPolyDataReader* pdReader = vtkPolyDataReader::New();
>  pdReader->SetFileName("D:\\testdata.vtk");
>  pdReader->Update();
>  return true;
> }
>
> However, the generated program can only run for ITK2.8 and ITK3.0 released
> versions, but causes error for ITK3.2 or ITK3.4 release.  The VTK version is
> 5.0.  Does anyone  know why including <itkImageFileReader.h> will introduce
> this trouble?  Thanks in advance!
>
> /Leo
>
>
> ________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
> _______________________________________________
> 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