Hi Yumin,<br><br>Thanks a lot for your interest !! However...<br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I assume once you load your xml plugin from the plugin_loader, and<br>
check the "Auto Load" checkbox, the next time you start paraview, your<br>
xml plugin is loaded automatically, no? </blockquote><div> <br></div><div>That's my problem: it is not loaded even in this case... Attached is a minimal xml that exposes vtkImageMathematics to paraview filter list. I cannot auto-load it.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Now regarding the warning message, I believe it is due to the new<br>
addition to ADD_PARAVIEW_PLUGIN macro in ParaViewPlugins.cmake (see<br>
below), and the version shown in the plugin_loader_GUI refers to<br>
plugin "Version" you set when calling ADD_PARAVIEW_PLUGIN in<br>
CMakeLists.txt<br></blockquote><div><br>Yes, my CMakeLists contains the version specification for the cxx plugins. But thank you for the update about REQUIRED_PLUGINS, I was hoping that it will solve my problem. So I set the PVCustomizer (cxx plugin, version "1.0" in the CMakeLists) requiring the XML "ParaviewVTK". But I cannot load "ParaviewVTK", so making the former depending on the latter is quite awkward... Finally, you made me progressing and I have a more precise question :<br>
- How to set the version of a plugin that is only an XML description of VTK filters? -ie I don't have a CMakeLists for this...-<br><br>Thanks again Yumin!<br><br>Jerome<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br>
On Fri, Oct 23, 2009 at 4:34 AM, Jérôme <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> ParaView-CVS brought a good surprise for me a few days ago. The plugin<br>
> loader has been rewrote and is now offering an auto-load option that is very<br>
> useful.<br>
> However, I have an XML description of a lot of VTK native filters that<br>
> cannot be opened automatically. I have to "Load new" each time. Then, no<br>
> problem, the filters are exposed in the menu. But the plugin loader gives a<br>
> warning message (see screenshot attached) and no "Version" (effectively, the<br>
> XML doesn't have a "version=" element)...<br>
><br>
> Second, I have an AutoStartPlugin that shows exactly the same problem<br>
> (PVCustomizer). The reason, I think, is that this plugin depends on VTK<br>
> filters (SplineFilter) that is described in the previous XML...<br>
><br>
> Can someone tell me how to make the XML plugin 'autoloadeable' ? I wonder if<br>
> it will solve the second problem...<br>
><br>
> Thanks a lot!<br>
><br>
> Jerome<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a 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:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
~~~~~~~~~~~~~~~~<br>
<font color="#888888">Yumin Yuan<br>
R&D Engineer<br>
Kitware Inc.<br>
<a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
Phone : (518) 881-4936<br>
email : <a href="mailto:yumin.yuan@kitware.com">yumin.yuan@kitware.com</a><br>
~~~~~~~~~~~~~~~~<br>
</font></blockquote></div><br>