[Insight-users] itkImageToVTKImageFilter crashing during runtime

Chunwoo Kim cwkim at jhu.edu
Tue Aug 2 11:25:17 EDT 2011


Thank you very much for your advice, Gib and John. The error disappeared
when I removed my itk and vtk, recompiled itk 3.2.0 (same as before) and vtk
5.4.1 instead of 5.6.1, both in release mode.  - Chun 


-----Original Message-----
From: Gib Bogle [mailto:g.bogle at auckland.ac.nz] 
Sent: Monday, August 01, 2011 8:26 PM
To: John Drescher; Chunwoo Kim
Cc: insight-users at itk.org
Subject: RE: [Insight-users] itkImageToVTKImageFilter crashing during
runtime

You are not mixing Release and Debug libraries?
________________________________________
From: insight-users-bounces at itk.org [insight-users-bounces at itk.org] on
behalf of John Drescher [drescherjm at gmail.com]
Sent: Tuesday, 2 August 2011 12:18 p.m.
To: Chunwoo Kim
Cc: insight-users at itk.org
Subject: Re: [Insight-users] itkImageToVTKImageFilter crashing during
runtime

On Mon, Aug 1, 2011 at 6:49 PM, Chunwoo Kim <cwkim at jhu.edu> wrote:
> Dear ITK users
>
>
>
> I'm trying to learn ITK using the tutorial found at ITK website.
> http://www.itk.org/ITK/help/tutorials.html I'm trying to display image
from
> ITK using VTK as described in 'Getting Started II' slide of the tutorial.
> The code from the tutorial compiles without problem, but when I run the
> program I always get memory error at
>
>
>
> itk::ImageToVTKImageFilter<ImageType> ConnectorType;
>
> ConnectorType::Pointerconnector= ConnectorType::New();  // Error occurs at
> this line.
>
>
>
> I searched previous mailing list but have not seen any case of such an
> error. What can be the problem. I'm using ITK 3.2.0 with VTK 5.6.1. Thank
> you
>

Is this on windows?

John
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
=



More information about the Insight-users mailing list