Compiling with Visual Studio 2019?


(Aron Helser) #1

I’m seeing a minor issue with VS2019 on master (new laptop, new compiler!), just wondering if others have seen it.

A few files need and extra
#include <string>
apparently because of the use of vtkGetStringMacro for ivars
including vtkPVOptions, vtkPolarAxesActor, vtkProperty, vtkOpenGLVertexBufferObjectGroup

The strange thing is three of these are in VTK, and compiling VTK by itself succeeds with VS2019.
Wondering if I should submit a PR for vtk and paraview?
Thanks
Aron


(Cory Quammen (Kitware)) #2

Yes, please!


(Aron Helser) #3

Here are the MRs:
https://gitlab.kitware.com/vtk/vtk/merge_requests/5381
https://gitlab.kitware.com/paraview/paraview/merge_requests/3185