[Insight-users] Building CVS Insight Applications

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 20 11:44:32 EST 2005


Hi Kevin,


      Are you sure that you are using CVS VTK ?



The symbol

                VTK_TT

is defined in

               VTK/
                 Common/
                   vtkTemplateAliasMacro.h

In line 81:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Common/vtkTemplateAliasMacro.h?annotate=1.1


This file was added to VTK on May 30 2005.


The symbol is also defined in

               VTK/
                 Common/
                   vtkSetGet.h


http://public.kitware.com/cgi-bin/viewcvs.cgi/Common/vtkSetGet.h?annotate=1.129




It looks like you are mixing the headers
from two different versions of VTK...



Could you please verify ?




    Luis


--------------------
Kevin H. Hobbs wrote:
> I'm now down to the error below.  I don't know what a ‘VTK_TT’ is so
> this hacking on this one might be harder.
> 
> [kevin at gargon InsightApplications_BUILD]$ make
> ...
> Building CXX object SegmentationEditorFltkGui/EditorFltkGui/CMakeFiles/EditorFltkGui.dir/vtkPatchedImageReader.o
> /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