'Unknown type name (C++) JUCE

I have an issue with my cpp file where I have written a component code into my header file. But my CPP file could not read it for some reason and it shows as unknown type name. I have also include the header file into the cpp file. What am I missing?

cpp file header file



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source