When I build pyMITK for SWIG MITK/Python wrapping, this leads to an access violation.
Steps to reproduce:
- Start a superbuild with MITK_USE_Python3, MITK_USE_SWIG, MITK_USE_VIGRA and MITK_USE_MATCHPOINT on in CMake
- Start a MITK build with WRAP_PYTHON on in CMake
- In Visual Studio, select pyMITK as start project and run
I tried it with Visual Studio 2017 and Visual Studio 2019 and in both cases, the error occured.