[ITK] Naming conflict ?
Dženan Zukić
dzenanz at gmail.com
Mon Nov 20 17:41:03 EST 2017
Hi Tim,
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 itkImage.h?
Regards,
Dženan
On Mon, Nov 20, 2017 at 5:18 PM, Timothee Evain <tevain at telecom-paristech.fr
> wrote:
> Hi everyone,
>
> I made some custom graph tools, that define classes like "Arc", "Node" and
> "Graph" into the global scope. The whole thing works well.
> 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.
> 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.
> Does anyone have encountered similar issues?
>
> Tim
> The ITK community is transitioning from this mailing list to
> discourse.itk.org. Please join us there!
> ________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20171120/82239ca8/attachment.html>
More information about the Community
mailing list