You can add following code:
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL);
VTK_MODULE_INIT(vtkInteractionStyle);
and add “opengl32.lib” to Linker --> Input --> Additional Dependencies
Hope this help!
来自https://stackoverflow.com/questions/40086584/errorno-override-found-for-vtkpolydatamapper