-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build error and add qt5 support #10
Fix build error and add qt5 support #10
Conversation
This commit updates the required version to 3.5
This commit fixes error like the following: ``` In file included from /tmp/LongitudinalPETCT/Quantification/PETSUVImageMaker/PETSUVImageMaker.cxx:41:0: /tmp/LongitudinalPETCT/Quantification/PETSUVImageMaker/itkDCMTKFileReader.h:26:20: fatal error: dcxfer.h: No such file or directory ```
This commit fixes the following build error by removing code trying to associate transform with the volume property node. Following r24891 (ENH: Moved up vtkMRMLStorableNode in the MRML node hierarchy.), vtkMRMLStorableNode is not a children of vtkMRMLTransformable node anymore, but directly a children of vtkMRMLNode. This commit fixes the following error: ``` /tmp/LongitudinalPETCT/MRML/vtkMRMLLongitudinalPETCTStudyNode.cxx: In member function ‘void vtkMRMLLongitudinalPETCTStudyNode::ObserveRegistrationTransform(bool)’: /tmp/LongitudinalPETCT/MRML/vtkMRMLLongitudinalPETCTStudyNode.cxx:478:28: error: ‘class vtkMRMLVolumePropertyNode’ has no member named ‘GetParentTransformNode’ && propNode->GetParentTransformNode() ^ /tmp/LongitudinalPETCT/MRML/vtkMRMLLongitudinalPETCTStudyNode.cxx:480:23: error: ‘class vtkMRMLVolumePropertyNode’ has no member named ‘SetAndObserveTransformNodeID’ propNode->SetAndObserveTransformNodeID( ^ /tmp/LongitudinalPETCT/MRML/vtkMRMLLongitudinalPETCTStudyNode.cxx:503:23: error: ‘class vtkMRMLVolumePropertyNode’ has no member named ‘SetAndObserveTransformNodeID’ propNode->SetAndObserveTransformNodeID(NULL); ^ ```
Thank you JC! This extension was developed as a student project, and I don't have resources to maintain it. I made this fork because the student stopped responding to pull requests. I will review and test sometime after Sunday (MICCAI). |
No problem and thanks for the update. In the mean time, I will most likely update the description file to build off my branch. |
I don't have problem merging it, and I think there is no damage, so I will just merge it to avoid further fork chain. Will also add you as collaborator. |
Good point. Just want to be a good citizen and check with you first 😄 |
@fedorov While testing the recent updates associated with Slicer build system, I ended updating your extension
Issue #9 is fixed by 1b42eef. A entry to the migration guide has also been added. The migration guide associated with VTK6, VTK7, VTK8, Qt5 and Slicer are now all linked of https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/MigrationGuide
Please, consider reviewing and testing this set of changes.
Cc: @lassoan @pieper