Skip to content

COMP: Fix build accounting for vtkVirtualRealityViewInteractor API change#119

Merged
jcfr merged 1 commit intoKitwareMedical:masterfrom
jcfr:fix-build-updating-vtkVirtualRealityViewInteractor
Jul 15, 2023
Merged

COMP: Fix build accounting for vtkVirtualRealityViewInteractor API change#119
jcfr merged 1 commit intoKitwareMedical:masterfrom
jcfr:fix-build-updating-vtkVirtualRealityViewInteractor

Conversation

@jcfr
Copy link
Contributor

@jcfr jcfr commented Jul 15, 2023

This commit renames the function from HandleGripEvents to HandleComplexGestureEvents to account for the change introduced through VTK MR-9892.

See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9892

It fixes error like the following:

In file included from /path/to/SlicerVirtualReality/VirtualReality/MRML/vtkVirtualRealityViewInteractor.cxx:21: /path/to/SlicerVirtualReality/VirtualReality/MRML/vtkVirtualRealityViewInteractor.h:49:16: error: ‘virtual void vtkVirtualRealityViewInteractor::HandleGripEvents(vtkEventData*)’ marked ‘override’, but does not override
   49 |   virtual void HandleGripEvents(vtkEventData* ed) override;
      |                ^~~~~~~~~~~~~~~~

…ange

This commit renames the function from HandleGripEvents to HandleComplexGestureEvents
to account for the change introduced through VTK MR-9892.

See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9892

It fixes error like the following:

In file included from /path/to/SlicerVirtualReality/VirtualReality/MRML/vtkVirtualRealityViewInteractor.cxx:21:
/path/to/SlicerVirtualReality/VirtualReality/MRML/vtkVirtualRealityViewInteractor.h:49:16: error: ‘virtual void vtkVirtualRealityViewInteractor::HandleGripEvents(vtkEventData*)’ marked ‘override’, but does not override
   49 |   virtual void HandleGripEvents(vtkEventData* ed) override;
      |                ^~~~~~~~~~~~~~~~
@jcfr jcfr force-pushed the fix-build-updating-vtkVirtualRealityViewInteractor branch from 0fa502e to 2b0050e Compare July 15, 2023 00:27
@jcfr
Copy link
Contributor Author

jcfr commented Jul 15, 2023

Since this change is not backward compatible:

  • Create 5.2 branch
  • Update the extension index

In the meantime, I will integrate

@jcfr jcfr merged commit 3b13d0b into KitwareMedical:master Jul 15, 2023
@jcfr jcfr deleted the fix-build-updating-vtkVirtualRealityViewInteractor branch July 15, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SlicerVirtualReality extension has build errors with latest Slicer-5.3 version

1 participant