KitwareMedical / SlicerLookingGlass

Extension for 3D slicer that enables user to visualize the 3D scene using the Looking Glass hardware display.
Apache License 2.0
4 stars 9 forks source link

LookingGlass module is not loaded #16

Open cl445 opened 3 years ago

cl445 commented 3 years ago

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:

curtislisle commented 2 years ago

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 commented 2 years ago

@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: