joint
(Mike)
March 14, 2024, 10:26am
1
Hello dear Paraview developers!
I came across such an issue, however, in the paraview.plugin of a correspondent plugin:
REQUIRES_MODULES
ParaView::pqComponents
ParaView::pqApplicationComponents
ParaView::RemotingViews
I am a bit confused
What’s wrong with it? Should not in automatically add the correspondent files from build directory to include_directories to be searched if I write in down in paraview.plugin?
Best regards
cory.quammen
(Cory Quammen (Kitware))
March 14, 2024, 2:30pm
2
ParaView::RemotingViews
is indeed the module that should add paraview/Remoting/Views/
to your include path.
Can you provide more details about the plugin you are trying to build?
mwestphal
(Mathieu Westphal (Kitware))
March 14, 2024, 2:43pm
3
You are probably missing this in your CMakeLists.txt:
target_link_libraries(YourPlugin
PRIVATE
ParaView::RemotingViews)
joint
(Mike)
March 14, 2024, 3:12pm
4
Hello dear Mathieu
Is not it done automatically if I write down that the module is REQUIRED in paraview.plugin file ?
mwestphal
(Mathieu Westphal (Kitware))
March 14, 2024, 3:14pm
5
Sadly not in certain specific case.
joint
(Mike)
March 14, 2024, 3:23pm
6
Could you explain please, why it is so?
mwestphal
(Mathieu Westphal (Kitware))
March 14, 2024, 3:27pm
7
This is a related to the fact that a paraview plugin, despite being similar, is not a true VTK module.
But I’m sure @ben.boeckel could give you a detailed answer.
ben.boeckel
(Ben Boeckel (Kitware))
April 1, 2024, 8:56pm
8