[Insight-users] about the include order

Luis Ibanez luis.ibanez at kitware.com
Mon Aug 22 19:24:16 EDT 2005



Hi Yixun,


What ITK version are you using ?


We attempted to reproduce the error that you reported,
but it doesnt happen in the CVS version of ITK.


Information about your platform will also be useful:


     1) your operating system
     2) your compiler
     3) your CMake version


Please let us know,



  Thanks


    Luis



---------------
Yixun Liu wrote:
> Hi,
>  
> I use ITK example to register two point 
> sets(IterativeClosestPoint1.cxx). When I change the order of the 
> #include, some errors will appear. For example, if the order is as 
> below, no error appears.
>  
> #include "itkPointSet.h"
>  
> #include "itkTranslationTransform.h"
> #include "itkIterativeClosestPointMetric.h"
> #include "itkLevenbergMarquardtOptimizer.h"
> #include "itkPointSetToPointSetRegistrationMethod.h"
>  
> If I change the order to that below, many errors appear.
>  
> #include "itkTranslationTransform.h"
> #include "itkIterativeClosestPointMetric.h"
> #include "itkLevenbergMarquardtOptimizer.h"
> #include "itkPointSetToPointSetRegistrationMethod.h"
> 
> #include "itkPointSet.h"
>  
> In my opinion, the include order should not be restricted.
>  
> Regards,
>  
> Yixun Liu
> 
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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