[Insight-users] compile InsightApplications problem

kdsfinger at gmail.com kdsfinger at gmail.com
Wed Dec 6 20:33:34 EST 2006


hi, all
Does anyone has the experience of sucessfully compile the
InsightApplications with the CVS version of vtk? My vtk works fine but
only some of the InsightApplications can get through. Here is the
error message I got:

[ 74%] Building CXX object
SegmentationEditor/Common/CMakeFiles/vtkWSTCommonTCL.dir/vtkBoundingBoxTcl.o
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:
In function 'void* vtkBoundingBoxNewCommand()':
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:13:
error: 'New' is not a member of 'vtkBoundingBox'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:
In function 'int vtkBoundingBoxCppCommand(vtkBoundingBox*,
Tcl_Interp*, int, char**)':
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:79:
error: 'class vtkBoundingBox' has no member named 'New'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:86:
error: 'class vtkBoundingBox' has no member named 'GetClassName'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:106:
error: 'class vtkBoundingBox' has no member named 'IsA'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:116:
error: 'class vtkBoundingBox' has no member named 'NewInstance'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:129:
error: 'class vtkBoundingBox' has no member named 'SafeDownCast'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:158:
error: 'class vtkBoundingBox' has no member named 'SetExtent'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:171:
error: 'class vtkBoundingBox' has no member named 'Merge'
/home/me/Desktop/drive2/itk/ITK-app/SegmentationEditor/Common/vtkBoundingBoxTcl.cxx:185:
error: cannot convert 'vtkBoundingBox*' to 'vtkObject*' for argument
'1' to 'int vtkObjectCppCommand(vtkObject*, Tcl_Interp*, int, char**)'
make[2]: *** [SegmentationEditor/Common/CMakeFiles/vtkWSTCommonTCL.dir/vtkBoundingBoxTcl.o]
Error 1
make[1]: *** [SegmentationEditor/Common/CMakeFiles/vtkWSTCommonTCL.dir/all]
Error 2
make: *** [all] Error 2

Thanks for all the comments.

zl2k


More information about the Insight-users mailing list