double x[7] = {-1,0,1,2,3,4, 5};
double y[7] = { 0,0,8,5,2,10,10};
tempCurve.setPoints(x,y,7);
the example uses doubles for the x and y arrays, but the library wants float, see error output: "note: candidates are: void Spline::setPoints(float*, float*, int)"
try
float x[7] = {-1,0,1,2,3,4, 5};
float y[7] = { 0,0,8,5,2,10,10};