我的主要目标是在目标计算机上运行 snappy player (https://wiki.gnome.org/Snappy)( BeagleBone Black )所以,我为Snappy播放器编写了一个食谱(< strong> snappy_1.0.bb )如下所示
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=686e6cb566fd6382c9fcc7a557bf4544"
SRCREV = "e73fabce4c397b40d490c74f6a6a0de000804f42"
SRC_URI = "git://git.gnome.org/snappy"
S = "${WORKDIR}/git"
RDEPENDS_${PN} = "gtk+3 gstreamer1.0 glib-2.0 clutter-1.0 gstreamer1.0-plugins-base libxtst clutter-gst-3.0 clutter-gtk-1.0 libx11 cairo gdk-pixbuf"
# inherit line
inherit pkgconfig autotools
FILES_${PN} += "${datadir}/*"
在 local.conf
中添加了此食谱名称IMAGE_INSTALL_append = " snappy"
构建( bitbake core-image-sato )成功,当我在目标(BeagleBone Black)上运行“ snappy ”时,我遇到了错误响应。
sh-4.4# snappy
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to authenticate
(snappy:763): clutter-CRITICAL **: Unable to initialize clutter: Unable to initialize the clutter backend: no available drivers found.
根据我在我的食谱中的理解,我已经解决了Snappy播放器的所有依赖关系(例如杂乱,gstreamer,gtk等)。 我无法弄清楚为什么 snappy player 会抛出错误?
甚至尝试添加PREFERRED_PROVIDER_virtual / egl?=“mesa” 在local.conf中却出现了同样的错误。