[Insight-users] Building CVS Insight Applications

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 20 10:28:36 EST 2005


Hi Kevin,

What version of VTK are you using ?


    Please let us know,


     Thanks


        Luis


---------------------
Kevin H. Hobbs wrote:
> I 'm trying to build the Insight Applications from CVS against the CVS
> versions of VTK and ITK.  VTK was built with 64 bit IDs and this is an
> amd64 so int[3] and vtkIdType* aren't the same. From listening to the
> list "candidates are:" screams missing header. 
> 
> I got the following error:
> 
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx: In function ‘void vtkPatchedImageReaderUpdate2(vtkPatchedImageReader*, vtkImageData*, IT*, OT*)’:
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:734: error: no matching function for call to ‘vtkImageData::GetIncrements(int [3])’
> /opt/vtk/include/vtk-5.1/vtkImageData.h:186: note: candidates are: virtual vtkIdType* vtkImageData::GetIncrements()
> /opt/vtk/include/vtk-5.1/vtkImageData.h:187: note:                 virtual void vtkImageData::GetIncrements(vtkIdType&, vtkIdType&, vtkIdType&)
> /opt/vtk/include/vtk-5.1/vtkImageData.h:188: note:                 virtual void vtkImageData::GetIncrements(vtkIdType*)
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx: In function ‘void vtkPatchedImageReaderUpdate1(vtkPatchedImageReader*, vtkImageData*, T*)’:
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:883: error: ‘VTK_TT’ was not declared in this scope
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:883: error: expected primary-expression before ‘)’ token
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx: In member function ‘virtual void vtkPatchedImageReader::ExecuteData(vtkDataObject*)’:
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:914: error: ‘VTK_TT’ was not declared in this scope
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:914: error: expected primary-expression before ‘)’ token
> /home/kevin/kitware/InsightApplications/SegmentationEditorFltkGui/EditorFltkGui/vtkPatchedImageReader.cxx:914: error: ‘vtkTemplateMacro3’ was not declared in this scope
> make[2]: *** [SegmentationEditorFltkGui/EditorFltkGui/CMakeFiles/EditorFltkGui.dir/vtkPatchedImageReader.o] Error 1
> make[1]: *** [SegmentationEditorFltkGui/EditorFltkGui/CMakeFiles/EditorFltkGui.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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