[Paraview] How to create a vtkModule in Paraview
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Jun 5 11:02:14 EDT 2017
Simon,
While plugins can have internal modules, it's really not designed to share
those with other plugins. You have two options:
1. combine both plugins into a single one.
2. make the module a standard ParaView/VTK module that added via
PARAVIEW_EXTERNAL_MODULE_ROOTS CMake variable, then the two plugins can use
the module just liek any other ParaView/VTK module.
Utkarsh
On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins <
sp_desjardins at hotmail.com> wrote:
> Hi,
>
> I created a custom plugin that I want to use in a second plugin. To do so,
> I want to create a module with the custom plugin to be able to use it in my
> second one.
>
> I tried creating the module following the instructions on
> http://www.vtk.org/Wiki/VTK/Module_Development but it did not work.
>
>
> Basically, I am able to compile my module and create a .dll with it but I
> can't seem to be able to create the .lib and .ext necessary.
>
> I also added my module in the VTKModule.cmake. I'm unsure why it is not
> generating a .lib since I can see the line add_library in the cmake file
> generated for vtkmodules with my module name.
>
>
> Could anyone try to help me figure out what I'm missing?
>
>
> Thank you,
>
>
> Simon-Pierre Desjardins
>
>
>
> I'm compiling using Visual studio 2015 and Windows 10 64bits
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170605/66c12a07/attachment.html>
More information about the ParaView
mailing list