[IGSTK-Users] IGSTK 5.2 not compiling with Vtk 6.1 (SetInput Not Foud)

Ernesto de la Cruz Guevara Ramírez elguevara at uci.cu
Fri May 30 14:05:14 EDT 2014


Hi everybody, 
I'm trying to build IGSTK 5.2 with VTK 6.1 but all i've got is a bunch of errors saying that "‘class vtkImageData’ has no member named ‘Update’" or "‘class vtkImageMapToColors’ has no member named ‘SetInput’" and other related errors. 

Any help would be appreciated.

Here is my build log:

In file included from /opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.h:218:0,
                 from /opt/IGSTK-5.2/Source/igstkUSImageObjectRepresentation.h:20,
                 from /opt/IGSTK-5.2/Source/igstkUSImageObjectRepresentation.cxx:17:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In destructor ‘igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::~ImageSpatialObjectRepresentation()’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:190:18: error: ‘class vtkImageMapToColors’ has no member named ‘SetInput’
     m_MapColors->SetInput( NULL );
                  ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In member function ‘void igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::AttemptSetSliceNumberProcessing()’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:309:18: error: ‘class vtkImageData’ has no member named ‘Update’
     m_ImageData->Update();
                  ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In member function ‘virtual void igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::UpdateRepresentationProcessing()’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:480:18: error: ‘class vtkImageMapToColors’ has no member named ‘SetInput’
     m_MapColors->SetInput( m_ImageData );
                  ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In member function ‘void igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::ReportSliceNumberBoundsProcessing()’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:566:16: error: ‘class vtkImageData’ has no member named ‘Update’
   m_ImageData->Update();
                ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In member function ‘void igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::ConnectVTKPipelineProcessing()’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:617:16: error: ‘class vtkImageMapToColors’ has no member named ‘SetInput’
   m_MapColors->SetInput( m_ImageData );
                ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:618:17: error: ‘class vtkImageActor’ has no member named ‘SetInput’
   m_ImageActor->SetInput( m_MapColors->GetOutput() );
                 ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx: In instantiation of ‘void igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::SetImageSpatialObjectProcessing() [with TImageSpatialObject = igstk::USImageObject]’:
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:85:3:   required from ‘igstk::ImageSpatialObjectRepresentation<TImageSpatialObject>::ImageSpatialObjectRepresentation() [with TImageSpatialObject = igstk::USImageObject]’
/opt/IGSTK-5.2/Source/igstkUSImageObjectRepresentation.cxx:24:52:   required from here
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:429:7: error: ‘class vtkImageData’ has no member named ‘Update’
       this->m_ImageData->Update();
       ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:431:5: error: ‘class vtkImageMapToColors’ has no member named ‘SetInput’
     this->m_MapColors->SetInput( this->m_ImageData );
     ^
/opt/IGSTK-5.2/Source/igstkImageSpatialObjectRepresentation.txx:455:3: error: ‘class vtkImageActor’ has no member named ‘SetInput’
   this->m_ImageActor->SetInput( this->m_MapColors->GetOutput() );
   ^
make[2]: *** [Source/CMakeFiles/IGSTK.dir/igstkUSImageObjectRepresentation.cxx.o] Error 1
make[1]: *** [Source/CMakeFiles/IGSTK.dir/all] Error 2
VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 2014. Ver www.uci.cu


More information about the IGSTK-Users mailing list