UCL / UCL/STIR

SWIG version conflict between Python and MATLAB

Open
#374 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
160
Forks
113
Avg merge
12d 15h
Merged PRs (30d)
1

Description

Currently, we need an old SWIG for MATLAB support (see also #290) but that version fails with recent Python. In addition, it probably causes errors when building the documentation with doxy2swig.

Therefore, we need 2 different builds of STIR, one for Python and one for MATLAB. These need to be installed in different locations of course.

This cannot be fixed until someone updates the SWIG Matlab branch.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the related issue #290 and the current status of the SWIG Matlab branch. Trace how the Python and MATLAB builds interact with doxy2swig and identify the separate installation locations required; done means both builds work with their needed SWIG versions without breaking documentation generation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, matlab, python
Domain
build-system, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.