[vtkusers] VTK 5.8.0 and QT 4.8.0 64 Bits on MSVC 2010 linking error
DougNS
dougnsouza at gmail.com
Wed Feb 22 09:21:08 EST 2012
I have VTK 5.8 and QT 4.8 64 bits installed in my Win 7 64 + MSVC++ 2010.
After downloading both in 64 bits and configured cmake to wrap TCL, I tried
to compile. Everything compiles perfectly.
When is the time to link the libraries almost everything goes fine. My only
exception seems to be the one below.
Error 847 error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class QImage & __cdecl
QImage::operator=(class QImage &&)"
(__imp_??4QImage@@QEAAAEAV0@$$QEAV0@@Z) referenced in function
"public: virtual void __cdecl
vtkQtLabelRenderStrategy::RenderLabel(int * const,class
vtkTextProperty *,class vtkUnicodeString)"
(?RenderLabel at vtkQtLabelRenderStrategy@@UEAAXQEAHPEAVvtkTextProperty@@VvtkUnicodeString@@@Z)
D:\Lib\VTK\VTKb\Wrapping\Tcl\vtkRendering.lib(vtkQtLabelRenderStrategy.obj)
I already added the dependencies for all key qt libraries in MSVC
(qtmain.lib, qtgui4.lib, qtcore4.lib)
directly into all vtkxxx.lib. Nothing has changed.
The same message shows over and over.
Any chance all of this can work in sharelibraries as well ?
Any clue ?
regards,
Doug
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-5-8-0-and-QT-4-8-0-64-Bits-on-MSVC-2010-linking-error-tp5505234p5505234.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list