Adding Unreal Interface Does Not Compile
When I an Unreal interface with the engine, I get the following compilation errors. I've also included the code that is generated by Unreal.
PickupInterface.h(11): error C2504: 'UInterface': base class undefined
PickupInterface.h(12): error C3646: 'Super': unknown override specifier
PickupInterface.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
PickupInterface.h(12): error C2614: 'UPickupInterface': illegal member initialization: 'Super' is not a base or member
PickupInterface.h(12): error C2440: 'return': cannot convert from 'UPickupInterface ' to 'UObject '
PickupInterface.h(12): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Follow this question
Once you sign in you will be able to subscribe for any updates here