[vtkusers] Parse code from QVTKWidget to QVTKWidget2
Lays Rodrigues
laysrodriguessilva at gmail.com
Mon Dec 21 19:41:17 EST 2015
Hi guys,
I'm trying to parse my code to use QVTKWidget 2, and I made this:
http://pastebin.com/nbKqxFfn
from the examples on this link:
https://gitlab.kitware.com/vtk/vtk/commit/4d19aa12a2b749dc8b1532c5367f4b745d1dfcf8
But, isn't working.
libBRPRintInterface.a(vtkWidget.cpp.o): In function
`vtkWidget::vtkWidget(QWidget*)':
vtkWidget.cpp:(.text+0x3c): undefined reference to
`QVTKWidget2::QVTKWidget2(QWidget*, QGLWidget const*,
QFlags<Qt::WindowType>)'
vtkWidget.cpp:(.text+0x1c0): undefined reference to
`QVTKWidget2::GetRenderWindow()'
vtkWidget.cpp:(.text+0x1e4): undefined reference to
`QVTKWidget2::GetRenderWindow()'
vtkWidget.cpp:(.text+0x209): undefined reference to
`QVTKWidget2::SetRenderWindow(vtkGenericOpenGLRenderWindow*)'
vtkWidget.cpp:(.text+0x230): undefined reference to
`QVTKWidget2::GetRenderWindow()'
vtkWidget.cpp:(.text+0x3a1): undefined reference to
`QVTKWidget2::~QVTKWidget2()'
Can anyone help me solve this?
Thanks
--
__
*Lays Rodrigues*
*Front-End Developer at Br-Print3D Project(KDE)*
*Computer Science Student at UFF/PURO*
Organizadora da Semana da Computação UFF-PURO
www.facebook.com/semanacomputacaopuro
www.facebook.com/brprint3d
www.brprint3d.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151221/744d6a64/attachment.html>
More information about the vtkusers
mailing list