britesrei
(Joao Rei)
October 25, 2024, 8:51pm
1
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:
britesrei
(Joao Rei)
October 25, 2024, 10:01pm
3
Solved it, just had to export CMAKE_PREFIX_PATH
to include the VTK installation path
mwestphal
(Mathieu Westphal (Kitware))
October 28, 2024, 9:48am
4
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.
britesrei
(Joao Rei)
October 28, 2024, 4:21pm
5
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!
mwestphal
(Mathieu Westphal (Kitware))
October 28, 2024, 4:30pm
6
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
britesrei
(Joao Rei)
October 28, 2024, 5:12pm
7
Thanks! I figure that should work the same for my case (ContextMenu)?