[Insight-users] Compilation problem

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 29 09:38:11 EDT 2008


Hi Markus,


    Have you opened the ITK namespace ?

    That is,
    have you inserted in your application,
    an statement such as the abominable:


          "using namespace itk"


    Please let us know,


      Thanks


         Luis


--------------------------
Markus Mehrwald wrote:
> Hello,
> 
> since my last update of ITK I get the following error compiling my
> application (compiling ITK gives just a warning):
> 
> /usr/local/include/InsightToolkit/Common/itkNeighborhood.h:153: error:
> declaration of ‘unsigned int itk::Neighborhood<TPixel, VDimension,
> TAllocator>::Size() const’
> /usr/local/include/InsightToolkit/Common/itkSize.h:46: error: changes
> meaning of ‘Size’ from ‘class itk::Size<VDimension>’
> 
> Since I did not do any changes to this classes I cannot explain why this
> error occures.
> 
> Thanks for any help,
> Markus
> 
> _______________________________________________
> 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