[Insight-users] about the include order
Luis Ibanez
luis.ibanez at kitware.com
Tue Aug 23 10:39:05 EDT 2005
Hi Yixun,
Thanks for letting us know about the ITK version
that you are using, and about the source of the
error that you were encountering.
Regards,
Luis
-----------------
Yixun Liu wrote:
> Thank you!
> ITK1.8 ,winXP,Cmake1.6. I have known the reason. I forget to add #pragma warning ( disable : 4786 ). It's warning instead of error. I am sorry for my carelessness.
>
> Regards,
>
> Yixun Liu
>
> ----- Original Message -----
> From: "Luis Ibanez" <luis.ibanez at kitware.com>
> To: "Yixun Liu" <yxliu at fudan.edu.cn>
> Cc: <insight-users at itk.org>
> Sent: Tuesday, August 23, 2005 7:24 AM
> Subject: Re: [Insight-users] about the include order
>
>
>
>>
>>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