This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

重编译QT中的multimediawidgets/player,运行时报错libpulse-mainloop-glib.so.0

Other Parts Discussed in Thread: AM3358

    我的板子上芯片是AM3358,用的TI官主PSDK6.x的版本。

   直接使用TI编译好的程序:/usr/share/qt5/examples/multimediawidgets/player  ,是可以运行的。

   把这目录下的代码,拷贝出来,自己重新编译,过程如下:

source  environment-setup

qmake  player.pro

make

把生成的player拷贝到目标板运行,就报错提示:

./player: error while loading shared libraries: libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory

网上搜了,也没看到libpulse-mainloop-glib.so.0的解决办法。好像也没什么人遇到这个问题。但官方提供的源码及编译好的程序能运行,应该是能用的。

  

  • 是不是缺少 libpulse-mainloop-glib.so.0该文件?参考以下链接看一下是否有帮助。
    blog.csdn.net/.../83340414
  • 我也想过这个问题,预编译镱像里是没有这个文件的。
    官方的预编译镜像里的 player 二进制文件运行确不报这个错,会不是会编译里有东西需要调整。
    如果非要 libpulse-mainloop-glib.so.0这个库,还得编译原码,网上没有看到编译这个解决问题的。在编译 player 不调用此库是最好解决办法了。

    另外还有一个问题,在使用 QT相关 example 里的二进制文件播放的时候。都会报: Warning: "A lot of buffers are being dropped." 视频非常卡顿,这个问题应该怎么解决。