Closed jcfr closed 10 months ago
With this change, here the configuration output. Since it was done from an existing build tree, the variable habe been explicitly removed to simulate a clean build.
cmake \
-USlicerVirtualReality_HAS_OPENVR_SUPPORT \
-USlicerVirtualReality_HAS_OPENXR_SUPPORT .
[...]
--
-- Setting SlicerVirtualReality_HAS_OPENVR_SUPPORT to OFF (OpenVR not supported on macOS)
--
--
-- Setting SlicerVirtualReality_HAS_OPENXR_SUPPORT to OFF (OpenXR not supported on macOS)
--
-- SlicerVirtualReality_EXTERNAL_PROJECT_DEPENDENCIES:vtkRenderingVR
-- Remote - VTKExternalModule [OK]
-- Remote - VTKExternalModule_SOURCE_DIR:/D/S/S-0-E-b/SlicerVirtualReality-build/VTKExternalModule
-- SuperBuild - First pass
-- SuperBuild - First pass - done
-- SuperBuild - inner => Requires vtkRenderingVR,
-- SuperBuild - vtkRenderingVR[OK]
-- SuperBuild - VTK_SOURCE_DIR:/Users/svc-dashboard/D/S/A/VTK-build/../VTK
-- SuperBuild - vtkRenderingVR_DIR:/D/S/S-0-E-b/SlicerVirtualReality-build/vtkRenderingVR-build
-- SuperBuild - inner[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /D/S/S-0-E-b/SlicerVirtualReality-build
We can observe the two XR runtime OpenVR
and OpenXR
are disabled. Only the generic base vtkRenderingVR
module is being built.
...
[100%] Built target qSlicerVirtualRealityModuleGenericCxxTests
[ 94%] Forcing configure step for 'inner'
[ 94%] No install step for 'inner'
[100%] Completed 'inner'
[100%] Built target inner
Since attempting to build on macOS results into few errors described below, this commit sets the default value for
SlicerVirtualReality_HAS_OPENXR_SUPPORT
toOFF
.It also removes the
VirtualRealityStub
module and re-enable support for building on macOS. This means an extension will be built but it would not have any working XR runtimes.macOS errors related to
OpenXR-SDK
andvtkRenderingOpenXR
Issue finding "OpenGL.framework"
During the configuration of the external project associated with the vtkRenderingVR project, error like the following was reported:
It was fixed by adding the missing symlink:
Issue building "OpenXR-SDK" project
The following was reported when linking the
libopenxr_loader
library:Updating "OpenXR-SDK" from
release-1.0.26
torelease-1.0.32
allows to address this.Issue resolving "XrGraphicsBindingOpenGL"
Here is the error reported while building the
vtkRenderingOpenXR
module: