I have got the following in a header file for a class:

#include <vector>
#include <math.h>

In the class description, I have the following protected member:

vector<Point2D> samples;

Point2D is defined as a class

during compile time I get lots of errors (C2143, C4430 and C2238)

Any ideas?