[IGSTK-Developers] Compiling errors with vtkImagePlaneWidget2D

Patrick Cheng cheng at isis.georgetown.edu
Thu Sep 13 11:01:13 EDT 2007


I am using the latest version of VTK and I have the following 
compilation errors on both my windows and linux box here. When I look at 
the dashboard, other build machine doesn't seem to have these problems.

'NO_BUTTON' is clearly defined as protect in vtkImagePlaneWidget.h

Did I miss anything here?

Thank you,

Patrick

1>Compiling...
1>vtkImagePlaneWidget2D.cxx
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(67) : error C2039: 
'NO_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(67) : error C2065: 
'NO_BUTTON' : undeclared identifier
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(72) : error C2039: 
'LEFT_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(72) : error C2065: 
'LEFT_BUTTON' : undeclared identifier
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(76) : error C2039: 
'LEFT_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(82) : error C2039: 
'MIDDLE_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(82) : error C2065: 
'MIDDLE_BUTTON' : undeclared identifier
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(86) : error C2039: 
'MIDDLE_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(90) : error C2039: 
'RIGHT_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(90) : error C2065: 
'RIGHT_BUTTON' : undeclared identifier
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(94) : error C2039: 
'RIGHT_BUTTON' : is not a member of 'vtkImagePlaneWidget'
1>        C:\Patrick\Research\VTK\VTK\Widgets\vtkImagePlaneWidget.h(122) 
: see declaration of 'vtkImagePlaneWidget'
1>..\..\IGSTKSandbox\Source\vtkImagePlaneWidget2D.cxx(171) : error 
C3861: 'assert': identifier not found
1>igstkMRImageSpatialObjectImagePlaneRepresentation.cxx
1>c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(104) 
: warning C4346: 
'igstk::ImageSpatialObjectImagePlaneRepresentation<TImageSpatialObject>::Pointer' 
: dependent name is not a type
1>        prefix with 'typename' to indicate a type
1> 
c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(203) 
: see reference to class template instantiation 
'igstk::ImageSpatialObjectImagePlaneRepresentation<TImageSpatialObject>' 
being compiled
1>c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(104) 
: error C2061: syntax error : identifier 'Pointer'
1>igstkCTImageSpatialObjectImagePlaneRepresentation.cxx
1>c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(104) 
: warning C4346: 
'igstk::ImageSpatialObjectImagePlaneRepresentation<TImageSpatialObject>::Pointer' 
: dependent name is not a type
1>        prefix with 'typename' to indicate a type
1> 
c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(203) 
: see reference to class template instantiation 
'igstk::ImageSpatialObjectImagePlaneRepresentation<TImageSpatialObject>' 
being compiled
1>c:\patrick\research\igstk\igstksandbox\source\igstkImageSpatialObjectImagePlaneRepresentation.h(104) 
: error C2061: syntax error : identifier 'Pointer'
1>Generating Code...




More information about the IGSTK-Developers mailing list