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' has finished.<br><br>What I can say is that your fix about 'static' 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<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:<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"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></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'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 <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
> Utkarsh,<br>
><br>
> I have similar problem: the generated vtkSMXML_ header files cannot be<br>
> found. Attached is my CMakeLists defining the plugins. Some variables are<br>
> declared in other places. If you need them, tell me.<br>
><br>
> Jerome<br>
><br>
><br>
> 2009/12/2 Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
>><br>
>> Paul,<br>
>><br>
>> I've been changing the way plugins are configured. Can you try<br>
>> clean-building your plugin? If that doesn't work, can you post your<br>
>> CMakeLists.txt file?<br>
>><br>
>> Thanks<br>
>> Utkarsh<br>
>><br>
>> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>><br>
>> wrote:<br>
>> > I'm getting build errors on my plugins:<br>
>> ><br>
>> > .....<br>
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:<br>
>> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file<br>
>> > or directory<br>
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member<br>
>> > function ‘virtual void<br>
>> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector<std::basic_string<char,<br>
>> > std::char_traits<char>, std::allocator<char> >,<br>
>> > std::allocator<std::basic_string<char, std::char_traits<char>,<br>
>> > std::allocator<char> > > >&)’:<br>
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:<br>
>> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this<br>
>> > scope<br>
>> > make[2]: ***<br>
>> > [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]<br>
>> > Error 1<br>
>> ><br>
>> > Is it just me?!<br>
>> ><br>
>> > Thanks,<br>
>> > Paul<br>
>> > _______________________________________________<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>
>> 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>
</div></div></blockquote></div><br>