- download itksnap, unzip tar at ~
tar -xvf xxx.tar.gz
- add bin folder to PATH in .bashrc
export PATH=/home/xxx/itksnap-4.4.0-20250909-Linux-x86_64/bin:$PATH
- install libs
sudo apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt install libxcb-cursor-dev libxcb-icccm4
sudo apt install libxcb-*
old notes:
- use below to troubleshoot missing libs:
export QT_DEBUG_PLUGINS=1
Launching ITK-SNAP
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted (core dumped)