Hi -
I tried building Slicer against ITK’s v5.0.0 tag and got the errors below. The normal slicer builds use an 5.0-rc1 so something must have snuck in at the end. Can anyone suggest a fix or point me to a porting doc?
Thanks,
Steve
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx: In member function \u2018virtual int vtkMRMLModelStorageNode::ReadDataInternal(vtkMRMLNode*)\u2019:
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:241:25: error: \u2018itk::MeshReaderType<3, double, itk::DefaultDynamicMeshTraits<double, 3, 3, double, float, double> >::SceneType\u2019 has not been declared
MeshReaderType::SceneType::Pointer scene = readerSH->GetScene();
^~~~~~~~~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:242:25: error: \u2018itk::MeshReaderType<3, double, itk::DefaultDynamicMeshTraits<double, 3, 3, double, float, double> >::SceneType\u2019 has not been declared
MeshReaderType::SceneType::ObjectListType * objList = scene->GetObjects(1,nullptr);
^~~~~~~~~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:242:53: error: \u2018objList\u2019 was not declared in this scope
MeshReaderType::SceneType::ObjectListType * objList = scene->GetObjects(1,nullptr);
^~~~~~~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:242:53: note: suggested alternative: \u2018URIList\u2019
MeshReaderType::SceneType::ObjectListType * objList = scene->GetObjects(1,nullptr);
^~~~~~~
URIList
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:242:64: error: \u2018scene\u2019 was not declared in this scope
MeshReaderType::SceneType::ObjectListType * objList = scene->GetObjects(1,nullptr);
^~~~~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:242:64: note: suggested alternative: \u2018Scene\u2019
MeshReaderType::SceneType::ObjectListType * objList = scene->GetObjects(1,nullptr);
^~~~~
Scene
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:244:25: error: \u2018itk::MeshReaderType<3, double, itk::DefaultDynamicMeshTraits<double, 3, 3, double, float, double> >::SceneType\u2019 has not been declared
MeshReaderType::SceneType::ObjectListType::iterator it = objList->begin();
^~~~~~~~~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:245:43: error: \u2018it\u2019 was not declared in this scope
itk::SpatialObject<3> * curObj = *it;
^~
/home/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx:245:43: note: suggested alternative: \u2018int\u2019
itk::SpatialObject<3> * curObj = *it;
^~
int