Qt LNK2019: unresolved external symbol "__declspec(dllimport)..." VTK
-
I missed something the first time I read your thread. Visual Studio 2010 ? Did you build VTK yourself with that version of VS ?
-
I missed something the first time I read your thread. Visual Studio 2010 ? Did you build VTK yourself with that version of VS ?
-
Hello!
I build VTK myself with VS! I build with Release mode, should I build with Debug mode instead?
How do I select VS as compiler in Qt?
Thank you very much!!
-
I might be insisting but do you have everything build with the same version of MSVC ? Same architecture ?
-
I might be insisting but do you have everything build with the same version of MSVC ? Same architecture ?
-
Wouldn't you be missing the
vtkWidgets
library in your .pro file ? -
You have to install a 64bit build of Qt. You can't mix and match libraries of different architectures.
[Edit: fixed wording... Thanks @jsulm]
@SGaist said in Qt LNK2019: unresolved external symbol "__declspec(dllimport)..." VTK:
You can mix
You can't mix :-)