Hi Ngwarai, the following error is about “vtkFastLabeledDataMapper” which is a class from the “master” branch of VTK. Perhaps you accidentally downloaded the “master” branch instead of the “release” branch for VTK 9.4.1?
error: GetInput() in vtkFastLabeledDataMapper cannot override GetInput() in vtkPolyDataMapper
public vtkDataSet GetInput()
^
return type vtkDataSet is not compatible with vtkPolyData