raback wrote: ↑30 Mar 2021, 16:39
HI, Maybe you could drop "VTK" if that is problematic. Most people use Paraview anyways. -Peter
I just want to use vtkPost to see why it can't read my ascii vtu file.
I build vtk8.2 by myself with Module_vtkGUISupportQtOpenGl, Module_vtkGUISupportQt and Module_vtkGUISupportMFC ticked.
and copied them into FreeCADlibs.
After a few small tweaks, the main error now is:
Code: Select all
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class QSurfaceFormat __cdecl QVTKOpenGLNativeWidget::defaultFormat(void)" (__imp_?defaultFormat@QVTKOpenGLNativeWidget@@SA?AVQSurfaceFormat@@XZ) referenced in function "public: __cdecl VtkPost::VtkPost(class QWidget *)" (??0VtkPost@@QEAA@PEAVQWidget@@@Z) ElmerGUI D:\00master\elmerfem-devel\ElmerGUI\build_vs\Application\vtkpost.obj 1
Searching the net, It seems I have to build VTK with the same setting with FreeCADlibs's QT.