[Insight-users] itklabelcontourimagefilter
Christian Werner
christian.werner at rwth-aachen.de
Wed May 5 06:48:59 EDT 2010
I somehow mixed up ITK with Paraview, sorry for that... :)
Concerning your error messages it would help a lot if you could show the
code that produces this output. These errors look familiar, so I am sure
we will find a solution for this.
Thupakula wrote:
> Thank you very much for your time.
> Well I am not using ParaView, rather i installed cmake from synaptic
> Manager.
> But now I reinstalled ITK again and turned ON the ITK_USE_REVIEW.
> but now i am getting the below compilation errors which does not
> strike to my mind.. could you please tell me what is going wrong here ?
>
> Thank you in Advance,
> saraswathi
>
> *Compilation errors:*
> -------------------------------------
> home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:62:
> error: expected identifier before numeric constant
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:62:
> error: expected ‘}’ before numeric constant
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:62:
> error: expected unqualified-id before numeric constant
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:65:
> error: invalid use of template-name ‘itk::ConstNeighborhoodIterator’
> without an argument list
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:67:
> error: ‘Self’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:67:
> error: template argument 2 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:66:
> warning: ‘typedef’ was ignored in this declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:70:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:70:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:70:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:71:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:71:
> error: ‘OffsetType’ is not a class or namespace
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:71:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:72:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:72:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:72:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:73:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:73:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:73:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:74:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:74:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:74:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:75:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:75:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:75:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:76:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:76:
> error: ‘Superclass’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:76:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:79:
> error: ‘TImage’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:80:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:80:
> error: ‘TImage’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:80:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:81:
> error: ‘Self’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:81:
> error: template argument 1 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:81:
> warning: ‘typedef’ was ignored in this declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:82:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:82:
> error: ‘IndexType’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:82:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:83:
> error: ‘PixelType’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:83:
> error: ‘Self’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:84:
> error: template argument 1 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:84:
> error: template argument 2 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:84:
> error: template argument 3 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:83:
> warning: ‘typedef’ was ignored in this declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:89:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:89:
> error: ‘ImageType’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:90:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:93:
> error: ‘TBoundaryCondition’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:96:
> error: ‘ImageType’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:96:
> error: template argument 1 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:96:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:97:
> error: ‘ImageType’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:97:
> error: template argument 1 is invalid
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:98:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:101:
> error: expected constructor, destructor, or type conversion before ‘;’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:104:
> error: expected class-name before ‘(’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:107:
> error: ISO C++ forbids declaration of ‘ConstNeighborhoodIterator’ with
> no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:107:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:107:
> error: expected constructor, destructor, or type conversion before ‘;’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:112:
> error: ISO C++ forbids declaration of ‘ImageType’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:112:
> error: expected ‘,’ or ‘...’ before ‘*’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:113:
> error: ISO C++ forbids declaration of ‘ConstNeighborhoodIterator’ with
> no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘int itk::ConstNeighborhoodIterator(const itk::SizeType&,
> int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:113:
> error: ‘int itk::ConstNeighborhoodIterator(const itk::SizeType&, int)’
> redeclared as different kind of symbol
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:52:
> error: previous declaration of ‘template<class TImage, class
> TBoundaryCondition> class itk::ConstNeighborhoodIterator’
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:115:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:115:
> error: ‘ptr’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:115:
> error: ‘region’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:117:
> error: ‘m_InBounds’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:118:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:119:
> error: ‘m_NeighborhoodAccessorFunctor’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:121:
> warning: no return statement in function returning non-void
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:124:
> error: expected constructor, destructor, or type conversion before ‘&’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:127:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:127:
> error: non-member function ‘void itk::PrintSelf(std::ostream&,
> itk::Indent)’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:131:
> error: non-member function ‘itk::OffsetType
> itk::ComputeInternalIndex(unsigned int)’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:134:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:139:
> error: non-member function ‘long int itk::GetBound(unsigned int)’
> cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘long int itk::GetBound(unsigned int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:140:
> error: ‘m_Bound’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:143:
> error: non-member function ‘const InternalPixelType*
> itk::GetCenterPointer()’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘const InternalPixelType* itk::GetCenterPointer()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:144:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:144:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:148:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:152:
> error: expected initializer before ‘*’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:157:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:162:
> error: ‘NeighborhoodType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:165:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:180:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:184:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:195:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:202:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:209:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:216:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:223:
> error: ‘PixelType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:229:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:234:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:238:
> error: non-member function ‘itk::RegionType itk::GetRegion()’ cannot
> have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘itk::RegionType itk::GetRegion()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:239:
> error: ‘m_Region’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:243:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:248:
> error: non-member function ‘itk::RegionType
> itk::GetBoundingBoxAsImageRegion()’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:251:
> error: non-member function ‘itk::OffsetType itk::GetWrapOffset()’
> cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘itk::OffsetType itk::GetWrapOffset()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:252:
> error: ‘m_WrapOffset’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:259:
> error: non-member function ‘itk::OffsetValueType
> itk::GetWrapOffset(unsigned int)’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘itk::OffsetValueType itk::GetWrapOffset(unsigned int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:260:
> error: ‘m_WrapOffset’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:265:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:269:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:273:
> error: ISO C++ forbids declaration of ‘ImageType’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:273:
> error: expected ‘,’ or ‘...’ before ‘*’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:274:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:278:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:278:
> error: non-member function ‘bool itk::IsAtBegin()’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘bool itk::IsAtBegin()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:279:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:279:
> error: ‘m_Begin’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:283:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:283:
> error: non-member function ‘bool itk::IsAtEnd()’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘bool itk::IsAtEnd()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:285:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:285:
> error: ‘m_End’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:289:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:292:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:296:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:296:
> error: ‘m_End’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:303:
> error: expected constructor, destructor, or type conversion before ‘&’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:309:
> error: expected constructor, destructor, or type conversion before ‘&’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:314:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:314:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:314:
> error: non-member function ‘bool itk::operator==(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:314:
> error: ‘bool itk::operator==(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:320:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:320:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:320:
> error: non-member function ‘bool itk::operator!=(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:320:
> error: ‘bool itk::operator!=(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:326:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:326:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:326:
> error: non-member function ‘bool itk::operator<(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:326:
> error: ‘bool itk::operator<(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:332:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:332:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:332:
> error: non-member function ‘bool itk::operator<=(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:332:
> error: ‘bool itk::operator<=(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:338:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:338:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:338:
> error: non-member function ‘bool itk::operator>(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:338:
> error: ‘bool itk::operator>(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:344:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:344:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:344:
> error: non-member function ‘bool itk::operator>=(int)’ cannot have
> cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:344:
> error: ‘bool itk::operator>=(int)’ must have an argument of class or
> enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:351:
> error: ISO C++ forbids declaration of ‘IndexType’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:351:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::SetLocation(int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:353:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:353:
> error: ‘position’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:354:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:361:
> error: expected constructor, destructor, or type conversion before ‘&’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:366:
> error: expected constructor, destructor, or type conversion before ‘&’
> token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:369:
> error: ISO C++ forbids declaration of ‘Self’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:369:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:369:
> error: ‘itk::OffsetType itk::operator-(int)’ must have an argument of
> class or enumerated type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:375:
> error: non-member function ‘bool itk::InBounds()’ cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:383:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::OverrideBoundaryCondition(int*)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:384:
> error: ‘m_BoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:388:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::ResetBoundaryCondition()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:389:
> error: ‘m_BoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:389:
> error: ‘m_InternalBoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:392:
> error: ISO C++ forbids declaration of ‘TBoundaryCondition’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:392:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::SetBoundaryCondition(int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:393:
> error: ‘m_InternalBoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:393:
> error: ‘c’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:396:
> error: expected initializer before ‘*’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::NeedToUseBoundaryConditionOn()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:402:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::NeedToUseBoundaryConditionOff()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:406:
> error: invalid use of ‘this’ in non-member function
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::SetNeedToUseBoundaryCondition(bool)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:410:
> error: ‘m_NeedToUseBoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:412:
> error: non-member function ‘bool itk::GetNeedToUseBoundaryCondition()’
> cannot have cv-qualifier
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘bool itk::GetNeedToUseBoundaryCondition()’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:414:
> error: ‘m_NeedToUseBoundaryCondition’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:417:
> error: expected unqualified-id before ‘protected’
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:427:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:433:
> error: ISO C++ forbids declaration of ‘IndexType’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:433:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:433:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:437:
> error: ISO C++ forbids declaration of ‘IndexType’ with no type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:437:
> error: expected ‘,’ or ‘...’ before ‘&’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:437:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> In function ‘void itk::SetBeginIndex(int)’:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:438:
> error: ‘m_BeginIndex’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:438:
> error: ‘start’ was not declared in this scope
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:
> At global scope:
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:442:
> error: ‘virtual’ outside class declaration
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:446:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:449:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:455:
> error: using ‘typename’ outside of template
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:455:
> error: ‘ImageType’ has not been declared
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:455:
> error: invalid type in declaration before ‘;’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:462:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:465:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:485:
> error: non-member ‘m_InBounds’ cannot be declared ‘mutable’
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:488:
> error: non-member ‘m_IsInBounds’ cannot be declared ‘mutable’
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:493:
> error: non-member ‘m_IsInBoundsValid’ cannot be declared ‘mutable’
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:496:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:499:
> error: ‘IndexType’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:502:
> error: ‘TBoundaryCondition’ does not name a type
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:513:
> error: expected initializer before ‘<’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:525:
> error: expected initializer before ‘<’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:532:
> error: expected initializer before ‘<’ token
> /home/saraswathi/InsightToolkit-3.16/Code/Common/itkConstNeighborhoodIterator.h:543:
> error: expected declaration before ‘}’ token
> make[2]: *** [CMakeFiles/main.dir/visualize.cpp.o] Error 1
> make[1]: *** [CMakeFiles/main.dir/all] Error 2
> make: *** [all] Error 2
>
>
> On Tue, May 4, 2010 at 9:51 PM, Christian Werner
> <christian.werner at rwth-aachen.de
> <mailto:christian.werner at rwth-aachen.de>> wrote:
>
> Hi!
>
> It seems you installed the Paraview binary, did you? If yes, you
> cannot create plugins anyway, you have to compile Paraview
> yourself. Follow these instructions:
>
> http://paraview.org/Wiki/ParaView:Build_And_Install
>
> Remember to set the ITK_USE_REVIEW variable to ON. In linux
> command line this would be done with the command line I just
> posted. If you are doing this in Windows, then you can set
> Variables within the CMake GUI (there is a button "+Add Entry").
>
> I hope this helps.
>
> Best regards,
> Christian
>
>
> Thupakula schrieb:
>
> Thank you very much for the help you did.
>
> As I am beginner still, could you please help me how to run this.
>
> because i already installed cmake. How to modify this ?
>
> does myITKSourceDir means where the ITK is installed ? when i
> try to do this it is saying the is no cMakeLists.txt.. which
> obvious
>
> so could you please elaborate how to do this ?
>
> Thank you,
> Saraswathi
>
> On Tue, May 4, 2010 at 8:01 PM, Christian Werner
> <christian.werner at rwth-aachen.de
> <mailto:christian.werner at rwth-aachen.de>
> <mailto:christian.werner at rwth-aachen.de
> <mailto:christian.werner at rwth-aachen.de>>> wrote:
>
> ccmake /myITKSourceDir -DITK_USE_REVIEW=ON
>
> is what you need.
>
>
> Christian Werner schrieb:
>
> Have you set the itk_use_review flag when compiling ITK?
>
> You should do
> ccmake .../Insight -dITK_USE_REVIEW
>
> The filter you are talking about is in the /Review
> directory
> of ITK that is not included in the compilation process
> by default.
>
>
> Best regards,
> Christian
>
>
> Thupakula schrieb:
>
> Hello Users,
>
> I am trying to include the header file
> itklabelcontourimagefilter.h. But I am getting
> error that
> there is no such file.
> i am using ITK 3.14 with Linux, Cmake Version is 2.6.
> Can anyone help me ?
>
> Thank you in Advance,
> Saraswathi
>
> ------------------------------------------------------------------------
>
> _____________________________________
> Powered by www.kitware.com <http://www.kitware.com>
> <http://www.kitware.com>
>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more
> information
> visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
> _____________________________________
> Powered by www.kitware.com <http://www.kitware.com>
> <http://www.kitware.com>
>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more
> information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
>
>
>
More information about the Insight-users
mailing list