Page MenuHomePhabricator

Make MITK compatible to GCC 11 and raise C++ standard to 17
Closed, ResolvedPublic

Description

GCC 11 will be the onboard compiler of Ubuntu 22.04 LTS so we have an incentive to make MITK compatible before the upcoming release. I also use the opportunity of the many third-party upgrades to finally bump the required C++ standard of MITK from C++14 to C++17.

Implications:

  • VTK 9.0.1 9.1.0
  • GDCM 3.0.8 3.0.10
  • jsoncpp unknown version 1.9.5
  • OpenCV 3.4.8 3.4.16
  • Eigen 07105f71 3.4.0

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Related Objects

Event Timeline

kislinsk triaged this task as Normal priority.Mar 17 2022, 12:03 AM
kislinsk created this task.
kislinsk edited projects, added MITK (v2022.04); removed MITK.
kislinsk moved this task from Backlog to Cycle on the MITK (v2022.04) board.
kislinsk added a revision: Restricted Differential Revision.Mar 17 2022, 1:27 AM

At the current state the MitkWorkbench configuration should be probably buildable. As far as I understood, I had a bogus warning handled as error at 99% that I fixed with a warning exception in the top-level CMakeLists.txt, causing everything to rebuild. Since the build in my VM takes quite a while I call it a day. I already created D612 to have some feedback from the build clients available soon.

After a few iterations, D612 seems to build on all clients (Windows still building, takes ages). Next step is to check why at least on Fedora the loader isn't able to load VTK libraries. Checking with LD_DEBUG=libs revealed that the search paths are missing the actual path ep/lib64 but instead look in /ep/lib64 and many strange relative paths like ep/lib64/../...

I am currently building the All configuration locally on Windows to check if there are any loader issues. We should also check on Ubuntu if the same issues occur like on Fedora.

kislinsk renamed this task from Make MITK compatible to GCC 11 to Make MITK compatible to GCC 11 and raise C++ standard to 17.Mar 17 2022, 10:07 PM
kislinsk updated the task description. (Show Details)

Deleted branch from rMITK MITK: feature/T29038-GCC-11.