-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Version: gaffer-1.6.0.0-linux-gcc11
Third-party tools: None
Third-party modules: None
Description
While I understand that writing software that works for all distributions of Linux is near impossible, I do think that we can collectively improve the error messaging and also the installation instructions for specific distributions, especially popular ones such as Ubuntu.
Steps to reproduce
- Launch Gaffer on a fresh install of Ubuntu 25.04 by following the instructions in the documentation.
- Observe error messages
Debug log
Click to Expand
ERROR : unable to find "/opt/solidangle/arnold-7.4.4.0/include/ai_version.h".
ERROR : unable to find "/opt/pixar/RenderManProServer-26.3/include/prmanapi.h".
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/opt/gaffer-1.6.0.0-linux-gcc11/qt/plugins"
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 "/opt/gaffer-1.6.0.0-linux-gcc11/qt/plugins" 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: vnc, xcb, offscreen, minimal, linuxfb.
Aborted (core dumped)
Despite the slew of errors, all that was needed was to run sudo apt install libxcb-cursor0 to install the missing package.
In my mind the two first errors about missing Arnold and RenderMan files should be warnings instead, as they're not required to run Gaffer.
The third line should also be a warning, as Wayland isn't required to run Gaffer either.
The fourth line was the most useful hint, as it included the package needed for Gaffer to run on Ubuntu. However, as mentioned above, only libxcb-cursor0 was needed and not xcb-cursor0
If desired, I could write up a PR with added info about the libxcb-cursor0 package, for Ubuntu users.