Fresh install of Ubuntu 22.04 and EnsensoSDK does not function without installing QT dependencies

General Information

  • Product: ensenso-sdk
  • Serial Number:
  • Ensenso SDK Version:
  • Operating System: Linux Ubuntu 3.6.1621, 4.0.1502
  • Data Attachments?
    • File Camera
    • Profiler log
    • Photo of setup
    • Screenshots
      Problem / Question
      Installing a fresh copy of Ubuntu 22.04 and a fresh copy of the ensenso sdk (with the versions mentioned above) does not open. Ubuntu is moving away from X11 to Wayland, and removing features of X11, which seem to impact the QT library ensenso sdk depends on. This was resolved by installing the following packages.

sudo apt install --reinstall libxcb-xinerama0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0

Hi Danny,

thank you for taking your time to bring this to our attention and sorry for making you figure this out.

We deliberately do not declare these packages as dependencies. This way users wishing to only use the NxLib without the GUI tools need not install all the GUI dependencies. We are currently improving our packaging and this issue will be addressed. For older releases I will see that we at least include them as recommended dependencies.

Regards,
Raphael

Hi Raphael,

Luckily once I found the error message, it was pretty quick to find a solution. I appreciate you prioritizing headless usage, because I rely on that more. I only use the GUI for troubleshooting. I posted here in case it helps someone in the future.

Cheers,
Danny