Error while compiling ParaView example plugin.

Hi everyone,

I have been trying to compile DockWidget plugin under paraView/ParaView/Examples/Plugins/ and it’s given me this particular error from several days. I have attached the error followed by the lines in the source code and CMakeLists.txt

I have built paraview 5.12, VTK, cmake from scratch, and am not able to find any solution in the forums too.

could someone please help me out here.

The code of the DockWidget plugin example you show IS NOT from ParaView 5.12 but have been modified for some reason.

Use the example as it is present in the source, it will work.