[prev in list] [next in list] [prev in thread] [next in thread]
List: paraview
Subject: [Paraview] Re : Problem with plugin Creation
From: R M <mlokida () yahoo ! fr>
Date: 2010-09-28 6:39:02
Message-ID: 470893.78320.qm () web29715 ! mail ! ird ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
In fact the hand made creation had a mistake.
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.
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.
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.
But, when I do file->open, my test file extension doesn't appear in the list.
What is the problem ?
Thank you.
________________________________
De : Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
À : R M <mlokida@yahoo.fr>
Cc : paraview@paraview.org
Envoyé le : Lun 27 septembre 2010, 18h 55min 39s
Objet : Re: [Paraview] Problem with plugin Creation
You've declared a int CanReadFile(const char*) in your header but no
implementation has been provided in the cxx file. There's a
Canreadfile() implemented, but that's another method since C++ is case
sensitive.
Utkarsh
On Mon, Sep 27, 2010 at 10:48 AM, R M <mlokida@yahoo.fr> wrote:
> Hi,
>
> I try to create a reader plugin but everything I try does not work.
> First I have follow the wiki:
> http://www.paraview.org/Wiki/Plugin_HowTo#Writing_Plugins
> The cmale generation is ok. But When I try to compile the projet in visual
> studio 2005, I obtain the error LNK2019: error lnk2019 unresolved
> external symbol "public: int __thiscall vtkTestReader::CanReadFile(char
> const *)" (?CanReadFile@vtkTestReader@@QAEHPBD@Z) eferenced in function "int
> __cdecl vtkTestReaderCommand(class vtkClientServerInterpreter *,class
> vtkObjectBase *,char const *,class vtkClientServerStream const &,class
> vtkClientServerStream &)"
> (?vtkTestReaderCommand@@YAHPAVvtkClientServerInterpreter@@PAVvtkObjectBase@@PBDABVvtkClientServerStream@@AAV3@@Z)
> )
> vtkTestReaderClientServer.obj
>
> I have modified some stuffs but always the same problem.
> So, I have installed plugin wizard. http://pluginwizard.mirarco.org/
>
> I generate a reader with the wizard and when I generate the project using
> cmake everything is OK.
> But, When I am in visual studio I have the same error !!
>
> Someone has an idea for this kind of problem ?
>
> In attachment the source generated from the wizard.
>
> Thank you.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
[Attachment #5 (text/html)]
<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>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 \
ymailto="mailto:mlokida@yahoo.fr" \
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 \
href="http://www.paraview.org/Wiki/Plugin_HowTo#Writing_Plugins" \
target="_blank">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 \
href="http://pluginwizard.mirarco.org/" \
target="_blank">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 \
target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><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>
</div><br>
</body></html>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic