[vtkusers] VTK_Qt example

Steffen Oeltze Steffen.Oeltze at Student.Uni-Magdeburg.DE
Fri Sep 27 05:43:04 EDT 2002


>Hej
>
>if you use my solution, there is an example to download.
>
>http://wwwipr.ira.uka.de/~kuebler/vtkqt/index.html
>

I downloaded the "Sources for Vtk4.0 and Qt2.3" from your webpage. 
Creating the library
worked fine. Than, I tried to compile the example project. During the 
linking step I received
the following error:

--------------------Konfiguration: Cylinder_VTKQT - Win32 
Debug--------------------
Kompilierung läuft...
Cylinder_VTKQT.cxx
Linker-Vorgang läuft...
LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt 
mit anderen Bibliotheken; /NODEFAULT:Bibliothek verwenden
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: 
Nichtaufgeloestes externes Symbol "class QApplication *  qApp" 
(?qApp@@3PAVQApplication@@A)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: Nichtaufgeloestes 
externes Symbol "class QApplication *  qApp" (?qApp@@3PAVQApplication@@A)
vtk_qt.lib(vtkQGLWindowQT.obj) : error LNK2001: Nichtaufgeloestes 
externes Symbol "class QApplication *  qApp" (?qApp@@3PAVQApplication@@A)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: Nichtaufgeloestes 
externes Symbol "private: static struct QStringData *  
QString::shared_null" (?shared_null at QString@@0PAUQStringData@@A)
Debug/Cylinder_VTKQT.exe : fatal error LNK1120: 2 unaufgeloeste externe 
Verweise
Fehler beim Ausführen von link.exe.

Cylinder_VTKQT.exe - 5 Fehler, 1 Warnung(en)

I'm using Windows 2000, Qt2.3.0Non-commercial edition and VTK4.0.
Do you have any idea how to solve this problem ?

Regards,
Steffen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020927/c700c234/attachment.htm>


More information about the vtkusers mailing list