[vtkusers] Problems linking wxVTKRenderWindowInteractor

Eleonora Mambrini e.mambrini at gmail.com
Tue Mar 6 09:23:59 EST 2007


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(87)
: 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(87)
: 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




-- 
 L'intelligenza artificiale non può battere la stupidità naturale.
Picasso



More information about the vtkusers mailing list