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:
- Linux dynamically loads kernel modules
- Module in linux driver_ platform_ Learning driver macro
- Error: unable to resolve dependency for… Could not resolve project
- Error: no override found for ‘vtkRayCastImageDisplayHelper’.
- Error building Player because scripts had compiler errors when packaging ab package
- Expected unqualified ID before numeric constant
- Examples of VTK image reading and display
- C language string processing error warning, c4996, sprintf, predicted, c4996, strcpy, c4996, strcat
- VTK + QT + vs compilation and installation configuration
- NPM install error | gyp err! Configure error
- VTK: VTK error problem set
- NPM installation module encountered enoent: no such file or directory, rename error
- Error: redefinition of class XXX
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- Solution to “initializing the Oracle asmlib driver: [failed]”
- Error lnk2038: detected “0”_ ITERATOR_ DEBUG_ The reason and solution of the unmatched item of “level”
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- NPM- Cannot find module ‘xxxxx’
- Solutions to some problems encountered in programming with vs2017
- Python dynamically imports objects, importlib.import_ Module() uses