【ARM-Linux开发】使用QT和Gstreanmer 遇到的一些问题
2024-09-01 09:41:19
1、如果出现错误,可能是在安装UCT PCRF时,相关组件不全,略举两个碰到的错误。
1)curl/curl.h:No such file or directory
——可能原因是libcurl及相关未安装完全,我出现此错误时是因为缺libcurl4-gnutls-dev
2)src/includes.h:28:37: error: gst/interfaces/xoverlay.h: No such file or directory
——缺libgstreamer相关组件,在安装libgstreamer-plugins-base0.10-dev后,编译时没有再出现此错误。
# apt-get install libgstreamer-plugins-base0.10-dev
2.在使用Gstreamer时遇到
Undefined reference to `gst_x_overlay_set_xwindow_id'
问题的原因是 :
gst_x_overlay_set_xwindow_id 所在的头文件 为 #include<gst/interfaces/xoverlay.h>
该文件包含于动态库libgstinterfaces-0.10.so没有显式地加载
该文件包含于动态库libgstinterfaces-0.10.so没有显式地加载
在Code::Blocks 中的解决方法:
Settings==> Compiler and debugger ==> Linkersettings ==> Linker libraries
==> Add ==>/usr/lib/libgstinterfaces-0.10.so
或者:
在。.pro文件中添加:LIBS +=/usr/lib/libgstinterfaces-0.10.so
最新文章
- 在Wcf中应用ProtoBuf替代默认的序列化器
- easycwmp在开发板上的配置
- Perl语言
- [Effective JavaScript 笔记]第28条:不要信赖函数对象的toString方法
- JS对文本框值的判断
- select 中使用 case when 和 replace
- 从MVC到前后端分离
- Shell Script(1)----variable compare
- c 中有关打印*,字符的题目集
- RecyclerView用法
- echarts legend 重叠 (转载)
- WebService之CXF注解之一(封装类)
- Selenium2Lib库之鼠标事件常用关键字实战
- web.xml 简记
- Ubuntu16.04上添加用户以及修改用户所属的组
- Redis命令总结 (转)
- [android] WebView与Js交互
- jenkins配置过程中踩过的一些坑
- Cocos2d-x 3.2 打包Android平台APK
- 一:php配置注意
热门文章
- [GraphQL] Query Lists of Multiple Types using a Union in GraphQL
- 原生JS实现简易随机点名功能
- [NOIP 2018]旅行
- NAS,IP SAN以及iSCSCI SAN存储的一些认识和理解
- LibreOJ #516. 「LibreOJ β Round #2」DP 一般看规律
- angular2事件触发
- 实现Runnable接口方式
- 2018-2019-2 20165222《网络对抗技术》Exp9 Web安全基础
- SDK/JDK,Shell/Shell脚本,Apache/APR ,MTK
- 【SpringBoot/MVC】从Oracle下载百万条记录的CSV