Skip to content
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

LookingGlass module is not loaded #16

Open
cl445 opened this issue Jul 24, 2021 · 2 comments · Fixed by #25
Open

LookingGlass module is not loaded #16

cl445 opened this issue Jul 24, 2021 · 2 comments · Fixed by #25
Labels
bug Something isn't working

Comments

@cl445
Copy link

cl445 commented Jul 24, 2021

I just got a new Portrait and wanted to test the Slicer module. Unfortunately I only get the message: "LookingGlass module is not loaded".

grafik

My setup:

  • MacOS 11.4
  • Slicer 4.13.0-2021-07-22
  • HoloPlay Service 1.2.0
@curtislisle
Copy link

curtislisle commented Dec 30, 2021

I have the same problem using Slicer 4.13.0-2021-08-27. When I looked in the Slicer errors panel, I see a reference to a missing VTK library during initialization. In my case, libvtkRenderingLookingGlass.so is missing. It seems this might be related to the version of VTK bundled with the binary version of Slicer. After looking around in the source code, I found the repository for this file: github.com/Kitware/LookingGlassVTKModule. It looks like a source build of 3D Slicer including this repository is required to enable the Looking Glass hardware.

@curtislisle
Copy link

@cl445 I was able to get the LookingGlassPortrait to work in Slicer 4.13-010522 preview!

Even with the newest version of Slicer for me, this extension didn't work right out of the box. There was a problem with the location of the libvtkRenderingLookingGlass.so.1 library file in the Looking Glass Extension. The correct library comes bundled inside the extension in the Slicer-4.13/lib directory. However, it isn't discovered during runtime initialization. To make the extension work (on my Linux system), I had to hand copy libvtkRenderingLookingGlass.so.1 into the ../qt-loadable-modules/ directory (next to the rest of the libraries) and then restart Slicer.

My setup:

  • Linux Ubuntu 20.04
  • Slicer 4.13.0-2022-01-05
  • hand copied version of the libvtkRenderingLookingGlass.so.1 file

@jcfr jcfr linked a pull request Nov 1, 2022 that will close this issue
@jcfr jcfr added the bug Something isn't working label Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants