我启用了 gstreamer 1.0
,但邮件失败了:
ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
这是我的 configure
脚本:
/configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5 -no-pch -gstreamer 1.0 -nomake examples -nomake tests &> output_configure
.
谢谢!
1 回答
我有完全相同的问题 . 在Raspberry Pi上安装
gstreamer-1.0
并将lib复制到主机系统后,请确保修复sysroot
目录中的相对链接 .从源构建时配置Qt会生成
config.cache
文件 . 如果删除它,./configure
脚本将重新配置所有内容 . 这是你如何识别损坏的符号链接,因为它将尝试编译一个最小的程序 . 例如,我的安装失败了libm.so
,这是一个不存在的文件的符号链接 .运行
./sysroot-relativelinks.py sysroot
重新链接所有符号链接 after 安装gstreamer-1.0
,因此Qt能够找到库 .