<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tim,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif">I don't remember encountering such a problem. Can you give a sample declaration of your class, and the error message about it you get when trying to include </span><font face="monospace, monospace">itkImage.h</font><font face="verdana, sans-serif">?</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">Regards,</font></div><div class="gmail_default" style="font-size:small"><font face="verdana, sans-serif">Dženan</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 20, 2017 at 5:18 PM, Timothee Evain <span dir="ltr"><<a href="mailto:tevain@telecom-paristech.fr" target="_blank">tevain@telecom-paristech.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I made some custom graph tools, that define classes like "Arc", "Node" and "Graph" into the global scope. The whole thing works well.<br>
I was trying to integrate these tools with ITK, but including any ITK header leads to a failed compilation, with errors about "undeclared identifiers" about my custom classes.<br>
The errors vanish when I put my code into a namespace, so I was thinking of a naming conflict with some variables or classes defined by ITK into the global scope, but I'm unable to find such structures in the ITK code.<br>
Does anyone have encountered similar issues?<br>
<br>
Tim<br>
The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">discourse.itk.org</a>. Please join us there!<br>
______________________________<wbr>__________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
</blockquote></div><br></div>