Unexpected behaviors when building and wrapping a ParaView plugin
When building a VTK filter in a ParaView plugin, and if there is a compile-related error in a header of the plugin (ie a missing ;
or something like that), I won't have a GCC error but instead this not-so-clear message :
vtkWrapHierarchy-pv5.10: In /home/timothee/Dev/Plugin/MyVTKModule/vtkMyView.h:24: syntax error.
make[2]: *** [Plugin/MyVTKModule/CMakeFiles/MyVTKModule-hierarchy.dir/build.make:79: lib/paraview-5.10/plugins/Plugin/vtk/hierarchy/MyPlugin/MyVTKModule-hierarchy.txt] Error 1
make[1]: *** [CMakeFiles/Makefile2:312: Plugin/MyVTKModule/CMakeFiles/MyVTKModule-hierarchy.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Also if the new filter class A
is a subclass of B
, and B
is a ParaView class of the module ParaView::C
, and if ParaView::C
is in the PRIVATE_DEPENDS
section of the vtk.module
, the plugin compile just fine (unexpected) but the generated CS wrapping is empty and thus not working (expected since configuration is wrong, but we shouldn't have gone there in the first place).
Tested against ParaView master
Edited by Timothee Chabat