# Failed to add Class, compiler error

**URL:** <https://forums.unrealengine.com/t/failed-to-add-class-compiler-error/311394>\
**Category:** C++\
**Tags:** child-class, unreal-engine, CPP, question\
**Created:** [March 17, 2015, 2:59pm UTC](https://forums.unrealengine.com/t/failed-to-add-class-compiler-error/311394 "2015-03-17T14:59:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Vector\_dupe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omar\_Vector\_dupe](https://forums.unrealengine.com/u/Omar_Vector_dupe)\
**Post date:** [March 17, 2015, 2:59pm UTC](https://forums.unrealengine.com/t/failed-to-add-class-compiler-error/311394/1 "2015-03-17T14:59:26Z")

</div>

I searched alot about this case and I found some relative posts about this issue, But I think mine is a little bit diff,

however I Can’t really find out what I’ve to do.

1-When adding a childClass from editor it send me this message

 ![34554-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/2/8e249403b0b9f251ac12144c69c6419acbfc5aa3.png)

2-then it say it’s already in used by another class, However, When I closed the editor and open VS I notice it’s already added the New Child Class, But if I tried to compile the project this happened exactly

 ![34556-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/c/1cc4f58023e3f12d50a6c6570c988eada26527d0.png)

any suggestion?!
