[vtk-developers] VTK Modular: vtkTextMapper::New returns null

Brad King brad.king at kitware.com
Fri Apr 27 15:03:05 EDT 2012


On 4/27/2012 2:45 PM, Bill Lorensen wrote:
> I'm trying to track down some VTK Wiki examples failures.  This line:
>    vtkSmartPointer<vtkSliderRepresentation2D>  sliderRep =
>      vtkSmartPointer<vtkSliderRepresentation2D>::New();
> crashes.
> gdb shows that in vtkSliderRepresentation2D.cxx
> this->LabelMapper = vtkTextMapper::New();
> returns 0.
>
> Seems that the factory can't find a proper text mapper. However, the
> VTK build itself passes tests that use vtkSliderRepresentation2D.

Please post a link to the example so we can reproduce this.

Thanks,
-Brad



More information about the vtk-developers mailing list