[wxVTK] Problems linking wxVTKRenderWindowInteractor
Brought to you by:
malat
From: Eleonora M. <e.m...@gm...> - 2007-03-12 19:40:20
|
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.cxx= (128) : warning C4355: 'this' : used in base member initializer list c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.cxx= (153) : warning C4355: 'this' : used in base member initializer list c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.cxx= (675) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.cxx= (700) : error C2039: 'Superclass' : is not a member of 'wxVTKRenderWindowInteractor' c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.h(8= 7) : see declaration of 'wxVTKRenderWindowInteractor' c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.cxx= (700) : error C2039: 'Superclass' : is not a member of 'wxVTKRenderWindowInteractor' c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.h(8= 7) : see declaration of 'wxVTKRenderWindowInteractor' c:\documents and settings\eleonora\documenti\progettivc\vtk2\wxvtkrenderwindowinteractor.cxx= (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 --=20 L'intelligenza artificiale non pu=F2 battere la stupidit=E0 naturale. Picasso |