Page MenuHomePhabricator

[SWIG] building pyMITK leads to access violation
Closed, WontfixPublic

Description

When I build pyMITK for SWIG MITK/Python wrapping, this leads to an access violation.
Steps to reproduce:

  1. Start a superbuild with MITK_USE_Python3, MITK_USE_SWIG, MITK_USE_VIGRA and MITK_USE_MATCHPOINT on in CMake
  2. Start a MITK build with WRAP_PYTHON on in CMake
  3. 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.

Event Timeline

kahl triaged this task as Normal priority.Jul 24 2020, 2:11 PM
kahl created this task.

If you use Python 3.7/3.8, you need to install SWIG version 4.0.2. This solves the problem. Currently, SWIG version 3.0.2. is installed in the Superbuild.

kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs