1.no override found for "vtkRenderer"
这时需要初始化一个模块通过宏
#include "vtkAutoInit.h"
VTK_MODULE_INIT(vtkRenderingOpenGL);
官方文档的解释
Description:
Initialize the named module, ensuring its object factory is correctly
registered and unregistered. This call must be made in global scope in the
translation unit of your executable (which can include a shared library, but
will not work as expected in a static library).