You could try using a debugging, set a breakpoint in "vtkPVPluginLoader::LoadPluginsFromPath" and step though.<div><br></div><div>Other things to check would be to make sure you add "REQUIRED_PLUGINS" in the CMakeLists.txt for any dependent plugins required. Also, add any required libraries to "TARGET_LINK_LIBRARIES" and make sure they are all in the LD_LIBRARY_PATH when running your app.<br>
<br></div><div>Regards,<br>Paul</div><div><br><div class="gmail_quote">On 12 July 2011 13:20, R M <span dir="ltr"><<a href="mailto:mlokida@yahoo.fr">mlokida@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I don't have the plugin manager in my custom application. But in paraview plugins are well listed and are correctly loaded.<br>
Using PV_PLUGIN_PATH one plugin is not loaded. Furthermore before I only had a plugins directory and they were automaticly loaded.<br><br>I have tried using OPTIONAL_PLUGINS in my custom application CMakeLists.txt file. All my plugins are loaded but I have to set them at the same level of the executable. But I would like to have them in the plugins directory.<br>
<br>Thank you.<br><div class="hm"><br><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight:bold">De :</span></b> Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>><br>
<b><span style="font-weight:bold">À :</span></b> R M
<<a href="mailto:mlokida@yahoo.fr" target="_blank">mlokida@yahoo.fr</a>><br><b><span style="font-weight:bold">Cc :</span></b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b><span style="font-weight:bold">Envoyé le :</span></b> Mar 12 juillet 2011, 13h 48min 45s<br>
<b><span style="font-weight:bold">Objet :</span></b> Re: [Paraview] Paraview custom application and plugin loading problem<br></font></div><div><div></div><div class="h5"><br>Are they listed when you go to the plugin manager? (from menu "Tools->Manage Plugins") If so, can you expand the tree view to see why they didn't load? I have it working for me by setting PV_PLUGIN_PATH (on both windows and linux)<div>
<br></div><div>Regards,<br>Paul<br><br><div class="gmail_quote">On 12 July 2011 08:09, R M <span dir="ltr"><<a rel="nofollow" href="mailto:mlokida@yahoo.fr" target="_blank">mlokida@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello,<br><br>I use Paraview 3.10 (32 bits) on Windows and Linux and i have developped a custom paraview application and also some customs plugins.<br>
Using Paraview, I can use my customs plugins but in my custom application I can't load them. I have put them in a Plugins directory which is near the executable.<br>When using paraview 3.9 I could load my plugins but not with paraview 3.10.<br>
<span>I have found that I can use the PV_PLUGIN_PATH environment variable (in a bat and a sh file) (<a rel="nofollow" href="http://www.vtk.org/Wiki/ParaView/Users_Guide/Loading_Plugins" target="_blank">http://www.vtk.org/Wiki/ParaView/Users_Guide/Loading_Plugins</a>). </span><br>
Some plugins are loaded but not all of them !<br>So what is the solutions in order to that all my plugins are loaded by my custom
application.<br><br>Thank you.<br></div>
</div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a rel="nofollow" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</div></div></div>
</div></div></blockquote></div><br></div>