<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I have found. I had forgotten in the CMakeLists.txt the ligne GUI_RESOURCE_FILES TestReaderGUI.xml in the ADD_PARAVIEW_PLUGIN.<br>Now it 's ok.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> R M <mlokida@yahoo.fr><br><b><span style="font-weight: bold;">À :</span></b> paraview@paraview.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mar 28 septembre 2010, 8h 39min 02s<br><b><span style="font-weight: bold;">Objet :</span></b> [Paraview] Re : Problem with plugin Creation<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off"><div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>In fact the hand made creation had a mistake.<br>But the zip
file I have attached has been created from the plugin wizard. I haven't
add any method. This is what plugin wizard has created.<br>I have seen
that after and I have modified it. But because it is an automatic
generation for plugin I tought plugin wizard is ok.<br><br>But now I
have a dll I have an other problem. I can see the plugin in the plugin
manager from paraview (3.9.0) and it is indicated that it is loaded.<br>But, when I do file->open, my test file extension doesn't appear in the list. <br>What is the problem ?<br><br>Thank you.</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br><b><span style="font-weight: bold;">À :</span></b> R M <mlokida@yahoo.fr><br><b><span style="font-weight: bold;">Cc :</span></b> paraview@paraview.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Lun 27 septembre 2010, 18h 55min 39s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [Paraview] Problem with plugin Creation<br></font><br>You've declared a int CanReadFile(const char*) in your header but
no<br>implementation has been provided in the cxx file. There's a<br>Canreadfile() implemented, but that's another method since C++ is case<br>sensitive.<br><br>Utkarsh<br><br>On Mon, Sep 27, 2010 at 10:48 AM, R M <<a rel="nofollow" ymailto="mailto:mlokida@yahoo.fr" target="_blank" href="mailto:mlokida@yahoo.fr">mlokida@yahoo.fr</a>> wrote:<br>> Hi,<br>><br>> I try to create a reader plugin but everything I try does not work.<br>> First I have follow the wiki:<br>> <a rel="nofollow" target="_blank" href="http://www.paraview.org/Wiki/Plugin_HowTo#Writing_Plugins">http://www.paraview.org/Wiki/Plugin_HowTo#Writing_Plugins</a><br>> The cmale generation is ok. But When I try to compile the projet in visual<br>> studio 2005, I obtain the error LNK2019: error lnk2019 unresolved<br>> external symbol "public: int __thiscall vtkTestReader::CanReadFile(char<br>> const *)" (?CanReadFile@vtkTestReader@@QAEHPBD@Z)
eferenced in function "int<br>> __cdecl
vtkTestReaderCommand(class vtkClientServerInterpreter *,class<br>> vtkObjectBase *,char const *,class vtkClientServerStream const &,class<br>> vtkClientServerStream &)"<br>> (?vtkTestReaderCommand@@YAHPAVvtkClientServerInterpreter@@PAVvtkObjectBase@@PBDABVvtkClientServerStream@@AAV3@@Z)<br>> vtkTestReaderClientServer.obj<br>><br>> I have modified some stuffs but always the same problem.<br>> So, I have installed plugin wizard. <a rel="nofollow" target="_blank" href="http://pluginwizard.mirarco.org/">http://pluginwizard.mirarco.org/</a><br>><br>> I generate a reader with the wizard and when I generate the project using<br>> cmake everything is OK.<br>> But, When I am in visual studio I have the same error !!<br>><br>> Someone has an idea for this kind of problem ?<br>><br>> In attachment the source generated from the wizard.<br>><br>> Thank you.<br>><br>><br>>
_______________________________________________<br><span>> Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br>><br>> Visit other Kitware open-source projects at<br>> <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the ParaView Wiki at:<br>> <a rel="nofollow" target="_blank" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a rel="nofollow" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>><br></div></div>
</div><br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br>
</body></html>