Hi,<br>Thanks for all! Unfortunately, I am currently re-compiling ParaView from scratch... I will give you a feed-back as soon as my tiny comp&#39; has finished.<br><br>What I can say is that your fix about &#39;static&#39; link is ok. I did not have to wait the compilation to end, maybe because this is CMake-script related?<br>
<br>The build error is now reported on a DICOM reader and I am having the following message :<br><br>/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:43:93: erreur: /home/dje/Softwares/VesselExtraction/Plugins/ParaView/vtkSMXML_DICOMImageReader.h : Aucun fichier ou dossier de ce type<br>
/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx: In member function ‘virtual void CoronaryExtractionToolbar_Plugin::GetXMLs(std::vector&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;&amp;)’:<br>
/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:71: erreur: ‘DICOMImageReaderDICOMReaderGetInterfaces’ was not declared in this scope<br>make[2]: *** [Plugins/ParaView/CMakeFiles/CoronaryExtractionToolbar.dir/CoronaryExtractionToolbar_Plugin.cxx.o] Erreur 1<br>
make[2]: *** Attente des tâches non terminées....<br><br>(Sorry for the frenchy message!!)<br>The vtkSMXML_DICOMImageReader.h cannot be found. But he exists ! Attached are vtkSMXML_DICOM.....h and the DICOM_plugin cxx and h.<br>
<br>Thanks again,<br><br>Jerome<br><br><br><br><div class="gmail_quote">2009/12/3 Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jerome,<br>
<br>
I tried to mimic your plugin by a small example but could not<br>
reproduce your issue. If you don&#39;t mind helping me track this down,<br>
can you try the following:<br>
<br>
* First, try clean building -- delete the build directory for the<br>
plugin (not paraview) and try again.<br>
* Does the vtkSMXML_*.h the compiler is complaining about exist?<br>
* What does ICSImageReader_Plugin.cxx look like?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Thu, Dec 3, 2009 at 5:20 AM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt; Utkarsh,<br>
&gt;<br>
&gt; I have similar problem: the generated vtkSMXML_ header files cannot be<br>
&gt; found. Attached is my CMakeLists defining the plugins. Some variables are<br>
&gt; declared in other places. If you need them, tell me.<br>
&gt;<br>
&gt; Jerome<br>
&gt;<br>
&gt;<br>
&gt; 2009/12/2 Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Paul,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve been changing the way plugins are configured. Can you try<br>
&gt;&gt; clean-building your plugin? If that doesn&#39;t work, can you post your<br>
&gt;&gt; CMakeLists.txt file?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards &lt;<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; I&#39;m getting build errors on my plugins:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; .....<br>
&gt;&gt; &gt; /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:<br>
&gt;&gt; &gt; /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file<br>
&gt;&gt; &gt; or directory<br>
&gt;&gt; &gt; /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member<br>
&gt;&gt; &gt; function ‘virtual void<br>
&gt;&gt; &gt; MyReaderGUIPlugin_Plugin::GetXMLs(std::vector&lt;std::basic_string&lt;char,<br>
&gt;&gt; &gt; std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;,<br>
&gt;&gt; &gt; std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;,<br>
&gt;&gt; &gt; std::allocator&lt;char&gt; &gt; &gt; &gt;&amp;)’:<br>
&gt;&gt; &gt; /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:<br>
&gt;&gt; &gt; ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this<br>
&gt;&gt; &gt; scope<br>
&gt;&gt; &gt; make[2]: ***<br>
&gt;&gt; &gt; [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]<br>
&gt;&gt; &gt; Error 1<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is it just me?!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Paul<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>