[vtkusers] QVTK weird linking problem

Giancarlo Amati ilferraresebono at hotmail.it
Fri Feb 13 07:08:12 EST 2009



Good morning,
sorry for sending this mail twice but not sure which group is better. Anyway compiled the VTK with the option for QT enabled producing the QVTK.lib that I link in my program where I 
insert a QVTKWidget.
So, as I'm programming in Visual Studio 2005 I added that LIB file in the sequece of LIBs in the linking properties.
So, this problem remarks that It cant link SetRenderWindow.....and I can't understand why, any suggestions is really appreciated!

1>------ Build started: Project: dioramaQT, Configuration: Debug Win32 ------
1>Linking...

1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall QVTKWidget::SetRenderWindow(class vtkRenderWindow *)" (?SetRenderWindow at QVTKWidget@@QAEXPAVvtkRenderWindow@@@Z) referenced in function _main

1>C:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\dioramaQT.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\BuildLog.htm"
1>dioramaQT - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Many Thanks
Giancarlo

_________________________________________________________________
Vai oltre le parole, scarica Messenger 2009!
http://www.messenger.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090213/42cf6a78/attachment.htm>


More information about the vtkusers mailing list