Rendering Using GPU

I think you should :
auto mapper = vtkSmartPointer< vtkRenderingVolume>::New();

others, complier don’t define the type of the mapper.