Forward Declaration Error

Can you show the header how you use the forward declared class?
There’s certainly limits to what you can do with the type. You can’t use it as a baseclass for example. You can have a pointer to it (most common usage for forward declared types).
I’m just guessing here, but maybe you’re using it for something that needs the memory layout of the class.
Check this:
https://stackoverflow.com/a/553869