Can't start latest stable on ubuntu 20.04

libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0 libxcb-render-util0 libxcb-xkb-dev libxkbcommon-x11-dev

Hi @pieper , do you happen to remember the CentOS equivalent package names for these?

For NDA Amazon workspace, I needed to install the following packages to be able to launch a pre-built Slicer:

yum -y install xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil libxkbcommon-x11

2 Likes

@pieper should we add this to the Linux install instructions?

Yes, I was thinking of suggesting that. I didn’t have a chance to do it myself.

By the way, don’t forget to document export MESA_GL_VERSION_OVERRIDE=3.3 .

It would be good if someone who uses the platforms in question could craft the PR with all the needed instructions. I don’t use these platforms.

Yes indeed.
sudo apt-get install libxcb-xinerama0

Just a quick note:

I downloaded and installed 5.2.2 on an Ubuntu 220.04 LTS.
I just have upgraded from 20.04 LTS the other day.

This is an almost vanilla install (I have no knowledge about previous package additions on this pc, but I am almost sure there weren’t too many)

I had to apt install t5dxcb-plugin because until then Slicer stopped during start:

./Slicer 
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.

error: [/home/attila/Downloads/Slicer-5.2.2-linux-amd64/bin/SlicerApp-real] exit abnormally - Report the problem.

Hello @nagy.attila, have you had a look at the documented requirements for linux?

https://slicer.readthedocs.io/en/latest/user_guide/getting_started.html#linux

On a VirtualBox fresh installation of Ubuntu 22.04 i just had to install:

sudo apt-get install libpulse-dev libnss3 libglu1-mesa
sudo apt-get install --reinstall libxcb-xinerama0

The binary re-distributable for both stable and preview launches without problems. I hope this helps.

I got the same problem as @PaoloZaffino reported.
There is a missing dependency for debian:

libxkbcommon-x11-0

You need to install it by:
sudo apt install libxkbcommon-x11-0