# vtkRenderingOpenXRRemotingCxxTests

**URL:** https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229
**Category:** ParaView Support
**Created:** [August 14, 2024, 3:36am UTC](https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229 "2024-08-14T03:36:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![simonmssu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/simonmssu/32/14975_2.png) [@simonmssu](https://discourse.paraview.org/u/simonmssu)
#### Post date: [August 14, 2024, 3:36am UTC](https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229/1 "2024-08-14T03:36:38Z")

</div>

Just wanted to test out [https://www.kitware.com/stream-vtk-to-the-hololens-2/](https://www.kitware.com/stream-vtk-to-the-hololens-2/) workflow on my ms hololens 2 but some key steps are missing from the blog. [VTK::RenderingOpenXRRemoting - VTK documentation](https://docs.vtk.org/en/latest/modules/vtk-modules/Rendering/OpenXRRemoting/README.html) appears to have more detailed steps. Using the following cmake option on vtk from [https://gitlab.kitware.com/vtk/vtk.git](https://gitlab.kitware.com/vtk/vtk.git), I was able to get it compiled using VS 2022 on windows 10

cmake …\vtk -G Ninja -DCMAKE\_BUILD\_TYPE=Release -DCMAKE\_INSTALL\_PREFIX=C:\t\vtk -DVTK\_GROUP\_ENABLE\_Rendering:STRING=YES -DVTK\_MODULE\_ENABLE\_VTK\_RenderingOpenXRRemoting:STRING=YES -DOpenXR\_DIR=C:\t\OpenXR-1.1.38\cmake -DOpenXRRemoting\_BIN\_DIR=C:/b/vtk-hololens2/MixedReality-HolographicRemoting-Samples-main/remote\_openxr/desktop/bin/Release -DOpenXRRemoting\_INCLUDE\_DIR=C:/b/vtk-hololens2/MixedReality-HolographicRemoting-Samples-main/remote\_openxr/desktop/packages/Microsoft.Holographic.Remoting.OpenXr.2.9.1/build/native/include/openxr -DVTK\_BUILD\_EXAMPLES:BOOL=ON

I found vtkRenderingOpenXRRemoting-9.3.dll with the build. However, vtkRenderingOpenXRRemotingCxxTests.exe is no where to be found. VTK documentation mentioned to use run

vtkRenderingOpenXRRemotingCxxTests.exe “TestOpenXRRemotingInitialization” -playerIP XX.XX.XX.XX

in the test between the desktop and MS HoloLens2.

Where can I find a more detailed instructions on duplicating what was published on the blog? Is Lucas Gandel’s VTK test-dev code available to download ?

thanks  
-simon

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [August 14, 2024, 7:38am UTC](https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229/2 "2024-08-14T07:38:58Z")

</div>

Hello @simonmssu,

I don’t see in your command line where you enable vtk testing that’s probably why you don’t have the `vtkRenderingOpenXRRemotingCxxTests` executable

> Where can I find a more detailed instructions on duplicating what was published on the blog? Is Lucas Gandel’s VTK test-dev code available to download ?

I don’t know another location than this one : [https://gitlab.kitware.com/vtk/vtk/-/tree/master/Rendering/OpenXRRemoting?ref\_type=heads#vtkrenderingopenxrremoting](https://gitlab.kitware.com/vtk/vtk/-/tree/master/Rendering/OpenXRRemoting?ref_type=heads#vtkrenderingopenxrremoting)

but maybe @LucasGandel can help you for this point 🙂

---

<div class="post-metadata">

### Author: ![simonmssu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/simonmssu/32/14975_2.png) [@simonmssu](https://discourse.paraview.org/u/simonmssu)
#### Post date: [August 14, 2024, 3:13pm UTC](https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229/3 "2024-08-14T15:13:37Z")

</div>

Hello @Lucas_Givord ,

thank you for the suggestions. I will enable vtk testing and see what I get.

thanks  
-simon

---

<div class="post-metadata">

### Author: ![simonmssu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/simonmssu/32/14975_2.png) [@simonmssu](https://discourse.paraview.org/u/simonmssu)
#### Post date: [August 14, 2024, 9:38pm UTC](https://discourse.paraview.org/t/vtkrenderingopenxrremotingcxxtests/15229/4 "2024-08-14T21:38:36Z")

</div>

yes.

adding vtk test to the cmake configuration is building the necessary vtkRenderingOpenXRRemotingCxxTests.exe file

thanks  
-simon

cmake …\vtk -G Ninja -DCMAKE\_BUILD\_TYPE=Release -DCMAKE\_INSTALL\_PREFIX=C:\t\vtk -DVTK\_GROUP\_ENABLE\_Rendering:STRING=YES -DVTK\_MODULE\_ENABLE\_VTK\_RenderingOpenXRRemoting:STRING=YES -DOpenXR\_DIR=C:\t\OpenXR-1.1.38\cmake -DOpenXRRemoting\_BIN\_DIR=C:/b/vtk-hololens2/MixedReality-HolographicRemoting-Samples-main/remote\_openxr/desktop/bin/Release -DOpenXRRemoting\_INCLUDE\_DIR=C:/b/vtk-hololens2/MixedReality-HolographicRemoting-Samples-main/remote\_openxr/desktop/packages/Microsoft.Holographic.Remoting.OpenXr.2.9.1/build/native/include/openxr -DVTK\_BUILD\_EXAMPLES:BOOL=ON -DVTK\_BUILD\_TESTING:STRING=ON
