BioMedIA / MIRTK

The Medical Image Registration ToolKit (MIRTK), the successor of the IRTK, contains common CMake build configuration files, core libraries, and basic command-line tools. Extension packages are hosted by the MIRTK GitHub group at
https://github.com/MIRTK
Apache License 2.0
186 stars 71 forks source link

Issue with VTK 9.0.3 build in Dockerfile on Linux #776

Closed jrhomburger closed 2 years ago

jrhomburger commented 3 years ago

Hi MIRTK team,

I've been able to get MIRTK installed successfully on MacOS and now am trying to move my work to Linux/Docker. However, I'm trying to use VTK 9.0.3 on Linux, and am having trouble getting this to successfully build. I tried just modifying the Ubuntu Dockerfile to use VTK=9.0.3 and I'm getting the following error:

CMake Error at /usr/src/VTK-9.0.3/Build/CMakeFiles/CMakeTmp/CMakeLists.txt:14 (add_executable):
#5 94.05   CXX_STANDARD is set to invalid value 'c++14'

What's the best way to install MIRTK on Linux using an updated version of VTK?

Thanks! cc @sakoht

schuhschuh commented 2 years ago

Hi! MIRTK should compile fine with VTK 9. I wonder if the issue you observe is caused by an older CMake version?

schuhschuh commented 2 years ago

MIRTK now also builds with VTK 9.1. Tested on macOS with Homebrew installation of VTK.