<div dir="ltr">Simon,<div><br></div><div>While plugins can have internal modules, it's really not designed to share those with other plugins. You have two options:</div><div><br></div><div>1. combine both plugins into a single one.</div><div>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.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 1, 2017 at 3:03 PM, Simon-Pierre Desjardins <span dir="ltr"><<a href="mailto:sp_desjardins@hotmail.com" target="_blank">sp_desjardins@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-538677795757185169divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p></p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
Hi,</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
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.</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
I tried creating the module following the instructions on <a href="http://www.vtk.org/Wiki/VTK/Module_Development" rel="noopener noreferrer" class="m_-538677795757185169x_OWAAutoLink" id="m_-538677795757185169LPlnk25907" target="_blank">http://www.vtk.org/Wiki/<wbr>VTK/Module_Development</a> but it did
not work.</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
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.</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
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.</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
Could anyone try to help me figure out what I'm missing?</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
Thank you,</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
Simon-Pierre Desjardins</p>
<br style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont;font-size:16px">
I'm compiling using Visual studio 2015 and Windows 10 64bits</p>
<br>
<p></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>