The solution to the error of “no override found for * *” in the use of VTK

This error is caused by not compiling with CMAKE, so some macro definitions and configurations are not initialized, resulting in the factory function of the class being used being unusable. So based on my experience in these days:

    first of all, the example programs such as cone, attribute macro definition in c + + preprocessor “copy” to their own projects; If this error occurs again, use such as VTK_MODULE_INIT(vtkrenderingVolumeOpenGL); Initialize the required modules.

More are still being explored…


Read More: