[Insight-users] Compilation problem

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 29 12:11:06 EDT 2008


Markus,

Have you change compilers? Maybe an updated gnu c++?

Bill

On Tue, Jul 29, 2008 at 9:46 AM, Markus Mehrwald <mehrwald at ira.uka.de> wrote:
> Hi Luis,
>
> I never use "using namespace x" but I searched my projects and could not
> find a statement like this.
> Shouldn't there be a hint on my own files if I did so?
>
> Greetings,
> Markus
>
>
> Luis Ibanez schrieb:
>>
>> 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
>>
>
> --
> Dipl.-Inform. Med. Markus Mehrwald
> Institut für Prozessrechentechnik, Automation und Robotik
> Medizin-Gruppe
> Universität Karlsruhe (TH)
> Gebäude 40.28, Zimmer 110
> Engler-Bunte-Ring 8
> 76131 Karlsruhe
>
> Fon: +49 (721) 608-7113
> Fax: +49 (721) 608-7141
> _______________________________________________
> 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