<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'have tried two librairies packages that integrate
VTK RendreWindow in a QT Widget. These librairies are vtkqt <A
href="http://www.matthias-koenig.net/vtkqt/">http://www.matthias-koenig.net/vtkqt/</A> and
vtkhandqt <A
href="http://www.medres.ch/~jstifter/vtkandqt/">http://www.medres.ch/~jstifter/vtkandqt/</A>.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use QT2.3 and VTK4.0, and I runs without problem
programs that use VTK or KT. </FONT></DIV>
<DIV><FONT face=Arial size=2>But I cannot use these librairies, VisualC++
compiles but I get errors at linking:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So Have you an idea?</FONT></DIV>
<DIV><FONT face=Arial size=2>thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>oli</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Errors with vtkhandqt:</FONT></DIV>
<DIV><FONT face=Arial size=2>Linking...<BR>interactormain.obj : error LNK2001:
unresolved external symbol "private: static struct QStringData *
QString::shared_null" (<A
href="mailto:?shared_null@QString@@0PAUQStringData@@A">?shared_null@QString@@0PAUQStringData@@A</A>)<BR>renderwindow.obj
: error LNK2001: unresolved external symbol <A
href="mailto:_gluOrtho2D@32">_gluOrtho2D@32</A><BR>moc_renderwindow.obj : error
LNK2001: unresolved external symbol "class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>)<BR>moc_renderwindowinteractor.obj
: error LNK2001: unresolved external symbol "class QApplication * qApp"
(<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>)<BR>Debug/VTKQT1.exe
: fatal error LNK1120: 3 unresolved externals<BR>Error executing
link.exe.</FONT></DIV>
<DIV><FONT face=Arial size=2>VTKQT1.exe - 5 error(s), 0 warning(s)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Errors with VTKQT:</FONT></DIV>
<DIV><FONT face=Arial size=2>Linking...<BR>qvExample.obj : error LNK2001:
unresolved external symbol "class QApplication * qApp" (<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>)<BR>vtkQtRenderWindow.obj
: error LNK2001: unresolved external symbol "class QApplication * qApp"
(<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>)<BR>vtkQtRenderWindowInteractor.obj
: error LNK2001: unresolved external symbol "class QApplication * qApp"
(<A
href="mailto:?qApp@@3PAVQApplication@@A">?qApp@@3PAVQApplication@@A</A>)<BR>qvExample.obj
: error LNK2001: unresolved external symbol "private: static struct QStringData
* QString::shared_null" (<A
href="mailto:?shared_null@QString@@0PAUQStringData@@A">?shared_null@QString@@0PAUQStringData@@A</A>)<BR>vtkQtRenderWindowInteractor.obj
: error LNK2001: unresolved external symbol "protected: virtual void __thiscall
vtkQtRenderWindowInteractor::initMetaObject(void)" (<A
href="mailto:?initMetaObject@vtkQtRenderWindowInteractor@@MAEXXZ">?initMetaObject@vtkQtRenderWindowInteractor@@MAEXXZ</A>)<BR>vtkQtRenderWindowInteractor.obj
: error LNK2001: unresolved external symbol "public: virtual char const *
__thiscall vtkQtRenderWindowInteractor::className(void)const " (<A
href="mailto:?className@vtkQtRenderWindowInteractor@@UBEPBDXZ">?className@vtkQtRenderWindowInteractor@@UBEPBDXZ</A>)<BR>vtkQtRenderWindowInteractor.obj
: error LNK2001: unresolved external symbol "private: static class QWidget
* QApplication::main_widget" (<A
href="mailto:?main_widget@QApplication@@0PAVQWidget@@A">?main_widget@QApplication@@0PAVQWidget@@A</A>)<BR>vtkQtRenderWindowInteractor.obj
: error LNK2001: unresolved external symbol "public: static class QMetaObject *
__cdecl vtkQtRenderWindowInteractor::staticMetaObject(void)" (<A
href="mailto:?staticMetaObject@vtkQtRenderWindowInteractor@@SAPAVQMetaObject@@XZ">?staticMetaObject@vtkQtRenderWindowInteractor@@SAPAVQMetaObject@@XZ</A>)<BR>Debug/vtkqt2.exe
: fatal error LNK1120: 6 unresolved externals<BR>Error executing
link.exe.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkqt2.exe - 9 error(s), 0
warning(s)</FONT></DIV></FONT></DIV></BODY></HTML>