跳转到内容
暂存服务器
开发服务器

pylon Viewer 无法在 Linux 上启动#

问题#

下载 pylon tar.gz或.deb软件包并将其安装到……之后Linux 在系统(例如 Ubuntu 22.04)中,点击后没有任何反应。 pylon Viewer 图标。

如果从/opt/pylon/bin启动应用程序“pylonviewer”,则会显示以下错误消息:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl,
wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

解决方案#

这是因为缺少依赖项或依赖项配置不正确。引用 pylon 发行说明:

引用

pylon Viewer :使用pylon Viewer您必须为您的系统安装最新的 Mesa OpenGL 驱动程序。在基于 Debian 的平台上,您还需要安装以下软件包:libgl1-mesa-dri、libgl1-mesa-glx、libxcb-xinerama0 和 libxcb-xinput0。

要解决这个问题,请打开终端并输入以下命令:

sudo apt update

sudo apt upgrade

sudo apt install libgl1-mesa-dri libgl1-mesa-glx libxcb-xinerama0 libxcb-xinput0

如果pylon Viewer 如果仍然无法启动,请按照发行说明中的​​说明安装最新的 Mesa OpenGL 驱动程序。

返回知识库文章