[Paraview] Problem with plugin Creation

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Sep 27 12:55:39 EDT 2010


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 at 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 at vtkTestReader@@QAEHPBD at 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
>
>


More information about the ParaView mailing list