Error building plugin example

Hello!
I’ve been trying to build ExampleContextMenu plugin from ParaView examples and it’s given me the error below that I do not know how to fix. I’m new to the developer side of ParaView so I would appreciate some detailed explanations, if possible! Thanks in advance!

and the ccmake window:

Solved it, just had to export CMAKE_PREFIX_PATH to include the VTK installation path :expressionless:

This should not be necessary.
I just tried with ParaView master and this very example and it worked fine.

Something is wrong in your ParaView build somehow.

Can you guide me through the steps to get the plugin working then, so I can check if there’s a problem with the paraview build? Thank you!

I just build ParaView from scratch and then the plugin.

mkdir paraview
git clone https://gitlab.kitware.com/paraview/paraview src
mkdir build
cd build
cmake ../src
make
cd src/Example/Plugins/DockWidget
mkdir build
cmake -DParaView_DIR=../../../build ../
make

Thanks! I figure that should work the same for my case (ContextMenu)?

Yes