Compilation error for using Point

Hi,
For the following line of code, Point& needleCenter, I am getting error, “Use of class template juce::Point requires template arguments MeterComponent.h”. Can anyone help me to how to resolve this.

Regards
symadpet

Like the error says, you need to give it a template argument. Maybe look at one of the many thousands of places in the codebase where the Point class gets used, and you’ll get the gist (!)

Thank you very much! I got it resolved.

typedef Point <int> Pointi;
typedef Point <float> Pointf;