# Can't compile new UInterface

**URL:** <https://forums.unrealengine.com/t/cant-compile-new-uinterface/419011>\
**Category:** UI\
**Tags:** interface, unreal-engine, compile-error, UInterface, UI, UE4, CPP, question\
**Created:** [March 5, 2018, 12:23pm UTC](https://forums.unrealengine.com/t/cant-compile-new-uinterface/419011 "2018-03-05T12:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Craimasjien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Craimasjien](https://forums.unrealengine.com/u/Craimasjien)\
**Post date:** [March 5, 2018, 12:34pm UTC](https://forums.unrealengine.com/t/cant-compile-new-uinterface/419011/3 "2018-03-05T12:34:16Z")

</div>

Thanks for your answer. It didn’t help though;  
If I declare the interface function as `virtual void Interact()`, I get this error: **Error: BlueprintImplementableEvents in Interfaces must not be declared 'virtual’**

---

_[View the full topic](https://forums.unrealengine.com/t/cant-compile-new-uinterface/419011)._
