Slicer three dimension widget layout not correct on Mac

Hi

I built the latest version of Slicer 4.9 (4.9.0-2018-05-25 rde9b19d) using Qt 5.10 executable file on a Mac. The three D widgets don’t look correct. I have attached a screenshot with this post. Could someone please help resolve the problem.

Thanks
Priya

Does the official nightly release that you download works well?
Have you built Slicer using VTK9?

Thanks Andras. That is exactly what I am trying. Can you let me know the git tag for downloading and building VTK 9 with Slicer? I was getting errors downloading VTK 9 with the git tag mentioned in Cmake files.

Thanks
Priya

Slicer downloads and builds the correct VTK version automatically. Did you try to build Slicer with some other pre-built VTK version?

Hi Andras

When I try to choose VTK version 9 in CMake and then build Slicer, I get the following error. I suspect that the git tag is incorrect for VTK 9.

Error is as follows:

You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 10e8cdc30e… Merge topic ‘give_up_on_eigin’
Submodule ‘VTK-m’ (https://gitlab.kitware.com/vtk/vtk-m.git) registered for path ‘ThirdParty/vtkm/vtk-m’
Cloning into ‘/Users/Priya/Project/Slicer-latest/Slicer-Superbuild-Debug-QT/VTKv9/ThirdParty/vtkm/vtk-m’…
git-lfs filter-process: git-lfs: command not found
fatal: The remote end hung up unexpectedly
Unable to checkout ‘6a908cc9da6076a42d41b9397ad71f56a1f69a70’ in submodule path ‘ThirdParty/vtkm/vtk-m’
CMake Error at VTKv9-prefix/tmp/VTKv9-gitclone.cmake:93 (message):
Failed to update submodules in:
‘/Users/Priya/Project/Slicer-latest/Slicer-Superbuild-Debug-QT/VTKv9’

make[2]: *** [VTKv9-prefix/src/VTKv9-stamp/VTKv9-download] Error 1
make[1]: *** [CMakeFiles/VTKv9.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

Thanks
Priya

It seems that you need to install git-lfs.

Thanks Andras. That fixed the problem. Also, with VTK 9, I don’t have the problem with the threeD widgets anymore.

Thanks for your help.

Priya

1 Like