Can't find enum from included file

In one class I have some enums declared here:

In another class I want to use those enums, so I include the class which defined the enums, however they are not found:

I have tried defining enums in a separate .h file and then including that into any classes which would want to use them. But it never works, I always get the Unable to find class… error.

What am I doing wrong here? I’ve recompiled / cleaned the project to no avail. I am following instructions I see all over in many places. It seems straightforward but yet just doesn’t work.

just a simple mistake. I had reverted some changes which removed the enum so it wasn’t actually there.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.