Re: [wxVTK] Problems linking wxVTKRenderWindowInteractor
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2007-03-13 17:29:31
|
Hi Eleonora, I do not have a testing machine to reproduce the error, but as far as I remember it should compile with VS6.0. Did you install all the latest release pack for this compiler ? Anyway I believe you can simply replace all 'Superclass' with 'vtkRenderWindowInteractor'. HTH -Mathieu On 3/12/07, Eleonora Mambrini <e.m...@gm...> wrote: > Hi! > I'm willing to use VTK in a wxWidgets application, so I tried to > compile a simple application including wxVTKRenderWindowInteractor. As > suggested in README, i have made this modify: > > original line: > class VTK_RENDERING_EXPORT wxVTKRenderWindowInteractor : public > wxWindow, virtual public vtkRenderWindowInteractor > > new line: > class wxVTKRenderWindowInteractor : public wxWindow, virtual public > vtkRenderWindowInteractor > > > But now when i try to link, it gives me these errors: > Compiling... > wxVTKRenderWindowInteractor.cxx > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(128) > : warning C4355: 'this' : used in base member initializer list > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(153) > : warning C4355: 'this' : used in base member initializer list > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(675) > : warning C4800: 'int' : forcing value to bool 'true' or 'false' > (performance warning) > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(700) > : error C2039: 'Superclass' : is not a member of > 'wxVTKRenderWindowInteractor' > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.h= (87) > : see declaration of 'wxVTKRenderWindowInteractor' > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(700) > : error C2039: 'Superclass' : is not a member of > 'wxVTKRenderWindowInteractor' > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.h= (87) > : see declaration of 'wxVTKRenderWindowInteractor' > c:\documents and > settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.c= xx(700) > : error C2653: 'Superclass' : is not a class or namespace name > Error executing cl.exe. > > wxVTKRenderWindowInteractor.obj - 3 error(s), 3 warning(s) > > I'm using VisualC++ 6 > > Thanks for any suggest! > > Eleonora > > > > -- > L'intelligenza artificiale non pu=F2 battere la stupidit=E0 naturale. > Picasso > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > --=20 Mathieu |