[Insight-users] Building CVS Insight Applications

Kevin H. Hobbs kevin.hobbs.1 at ohiou.edu
Mon Dec 19 16:24:02 EST 2005


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/insight-users/attachments/20051219/538eea0a/attachment.pgp


More information about the Insight-users mailing list