Error: no override found for ‘vtkPolyDataMapper’.

VS2015 + PCL1.8 Execution Error:

Generic Warning: In C:\Build\3rdParty\x64\VTK-7.0.0\Rendering\Core\vtkPolyDataMapper.cxx, line 28
Error: no override found for 'vtkPolyDataMapper'.

Solutions:
https://stackoverflow.com/questions/40086584/errorno-override-found-for-vtkpolydatamapper

 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
 VTK_MODULE_INIT(vtkInteractionStyle);

and add “opengl32. lib” to Linker –> Input –> Additional Dependencies。  


Read More: