VTK 9 in Release 4.8.1

Hi there,

I am aware that only VTK 9 is supported since Slicer 4.9, but what about the 4.8.1 release? I’m trying to build it with a lower version of VTK and I get the following error:

/Users/jonieva/Projects/Slicer/Modules/Loadable/VolumeRendering/MRMLDM/vtkMRMLVolumeRenderingDisplayableManager.cxx:52:10: fatal error: ‘vtkMultiVolume.h’ file not found
#include <vtkMultiVolume.h>
^
Scanning dependencies of target qSlicerVolumeRenderingModuleWidgets
1 error generated.
make[5]: *** [Modules/Loadable/VolumeRendering/MRMLDM/CMakeFiles/vtkSlicerVolumeRenderingModuleMRMLDisplayableManager.dir/vtkMRMLVolumeRenderingDisplayableManager.cxx.o] Error 1
make[4]: *** [Modules/Loadable/VolumeRendering/MRMLDM/CMakeFiles/vtkSlicerVolumeRenderingModuleMRMLDisplayableManager.dir/all] Error 2

Does this mean that VTK 9 is mandatory for 4.8.1 too?

Thank you.

vtkMultiVolume is not used in 4.8 branch (master-48), so if you get this error then probably you are not compiling the correct branch.

You are absolutely right. I messed up with the branches.

Thx!