[vtkusers] qvtk problem

Murat Ahat murat.ahat at gmail.com
Fri Jun 17 20:53:15 EDT 2005


Hi all,
  I downloaded the vtk cvs, and compiled it with the Qt support. I added 
the plugin to the qt-designer. 
  Simple test: a form with the QVTK widget, and a main file generated by 
qt-designer. I set the include path, and the static libraries.
  but when I run "make", it gives a lot of errors which is like:
==============================================
    /usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0xd4): In function 
`QVTKWidget::QVTKWidget[not-in-charge](QWidget*, char const*, unsigned)':
: undefined reference to `vtkUnsignedCharArray::New()'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x1da): In function 
`QVTKWidget::QVTKWidget[in-charge](QWidget*, char const*, unsigned)':
: undefined reference to `vtkUnsignedCharArray::New()'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x3cc): In function 
`QVTKWidget::GetRenderWindow()':
: undefined reference to `vtkRenderWindow::New()'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x5d9): In function 
`QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
: undefined reference to `vtkWindow::SetSize(int, int)'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x607): In function 
`QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
: undefined reference to `vtkWindow::SetPosition(int, int)'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x689): In function 
`QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
: undefined reference to 
`vtkRenderWindow::SetInteractor(vtkRenderWindowInteractor*)'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x6a6): In function 
`QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
: undefined reference to `vtkInteractorStyleTrackballCamera::New()'
/usr/local/lib/vtk/libQVTK.a(QVTKWidget.o)(.text+0x791): In function 
`QVTKWidget::SetRenderWindow(vtkRenderWindow*)':
: undefined reference to `vtkObject::AddObserver(unsigned long, 
vtkCommand*, float)
...
===========================================================
Does any one have any idea about howto fix this problem. Any suggestion 
will do.
thank you in advance.
   Murat




More information about the vtkusers mailing list