1、环境配置:pcl1.12.1、vtk9.1、vs2019 2、添加 #include "vtkAutoInit.h" VTK_MODULE_INIT(vtkRenderingContextOpenGL2);