LNK2001 while building VTK in VS
Unsolved
3rd Party Software
-
Hello!
I am new with Qt and VTK.
I'm failing to build VTK 8 for QT 5 with VS. I'm following this instruction: https://www.vtk.org/Wiki/VTK/Tutorials/QtSetup
- So I generated project in CMake, selecting qmake from msvc2017_64 (also tryed winrt_x64_msvc2017).
- Switched to "Release" (WIN32) in visual studio and built "ALL_BUILD".
End up with "123 succeeded, 5 failed" having hundreds error lines like this:
error LNK2001: unresolved external symbol "protected: virtual int __thiscall QTreeView::verticalOffset(void)const " (?verticalOffset@QTreeView@@MBEHXZ)
Please, I am stuck in here and I can't find any solution for that.
Thank you in advance!! -
Hi and welcome to devnet,
The wiki page you are linking to looks like to be written for an older version of VTK.
Did you try to contact VTK's authors ? They might have the answer already.