After resolving misunderstandings about the module system , I made progress on building
my own module. However I have an error message that I’m struggling to understand.
When I run ccmake and configure I get
VTK::Interaction dependency is missing for Wrapping::Wrappable.
I’ve created my module by starting from the Wrappable example module.
Now, my vtk.module file includes VTK::Interaction and when I built VTK-9.1
I selected interaction components,
any suggestion on how to resolve the error?
[Icouldn’t spot how to attach a file to an issue r I’d include
my module .module and CMakeCache.
The CMakeCache.txt probably wouldn’t be very informative, but could you post the contents of your vtk.module file (quoted with ``` ```) and the relevant pieces of your CMakeLists.txt files?
Perhaps the problem is just a typo. There is no VTK::Interaction module, you might have meant VTK::InteractionStyle or VTK::InteractionWidgets.
Using VTK::InteractionStyle and VTK::InteractionWidgets makes no difference.
I’ve attached the vtk.module to the email, if you need the contents inlined and quote please let me know.
AQlso included are the CMakeLists from the module root and the module-subdir.
If its easier I’ll just tarball the module and send that.
As in, you removed the non-existent VTK::Interaction module and added VTK::InteractionStyle and VTK::InteractionWidgets in its place? Again, I just want to be sure the problem isn’t being caused by a trivial mistake before I dig in any deeper.
Maybe you only removed VTK::Interaction from the DEPENDS section and not from PRIVATE_DEPENDS. In any case, the only reason for cmake to complain that it’s a missing dependency is if you list it as a dependency somewhere…
Face-palm! Thank you for spotting that, a different problem has popped up but I think Ican resolve then rty again with
the dependencies triple-checked.