Java Wrapping Error Win10 Visual Studio 2019

When I try to Build the project I get the following Errors:

199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,17): error C2039:  'string': is not a member of 'std'
199>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\map(20): message :  see declaration of 'std'
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,23): error C2065:  'string': undeclared identifier
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,37): error C2923:  'std::map': 'string' is not a valid template type argument for parameter '_Kty'
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,37): error C3203:  'less': unspecialized class template can't be used as a template argument for template parameter '_Pr', expected a real type
199>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\map(67,105): error C3203:  'pair': unspecialized class template can't be used as a template argument for template parameter '_Ty', expected a real type
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,39): error C2923:  'std::map': 'string' is not a valid template type argument for parameter '_Kty'
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(469,39): error C3203:  'less': unspecialized class template can't be used as a template argument for template parameter '_Pr', expected a real type
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(544,25): error C2039:  'string': is not a member of 'std'
199>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\map(20): message :  see declaration of 'std'
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(544,31): error C2065:  'string': undeclared identifier
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(544,44): error C2923:  'std::map': 'string' is not a valid template type argument for parameter '_Kty'
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(544,44): error C3203:  'less': unspecialized class template can't be used as a template argument for template parameter '_Pr', expected a real type
199>C:\Users\Marko\Downloads\VTK-8.2.0\VTK-8.2.0\Rendering\Core\vtkProperty.h(544,46): error C2923:  'std::map': 'string' is not a valid template type argument for parameter '_Kty'

What version of VTK are you trying to build?

Seems to be 8.2 looking at the error lines and the code there. It’s missing #include <string> at the top. I’ll get a patch into 8.2.1, but you can add it manually as well in the meantime.

https://gitlab.kitware.com/vtk/vtk/merge_requests/5593