External plugin are not easy to setup correctly for dynamic loading
Using ParaView 5.7.0-RC1 on Linux, built with PARAVIEW_BUILD_SHARED_LIBS=ON
.
When building Examples/Plugins/ElevationFilter (or any plugin) externally (not within the ParaView build), only static libraries are built. This is the case for the underlying VTK module as well as the ParaView plugin.
This can be "fixed" by adding set(BUILD_SHARED_LIBS ON)
to the top of Examples/Plugins/ElevationFilter/CMakeLists.txt.
We should add this to the cache in the CMakeLists of example plugins in order to help user avoid this error or at least fix it. Maybe a warning when building statically would be nice as well.