BarChartQt example does not compile

Reading comprehension problem.

I didn’t read the messages carefully, they are declaration errors not link errors.

Simply add

#include <vtkPen.h>
#include <vtkContextScene.h>

and it compiles !