测试裸流

Making install in demoOmxVdec
make[6]: Entering directory '/home/liuxueneng/WorkCode/Homlet-Tina-H2_H3/out/dolphin-p1/compile_dir/target/libcedarx/libcedarx/demo/demoOmxVdec'
CXX demoOmxVdec-demoOmxVdec.o
In file included from ./demoOmxVdec.cpp:12:0:
./OmxCodec.h:4:23: fatal error: OMX_Types.h: No such file or directory
compilation terminated.
Makefile:576: recipe for target 'demoOmxVdec-demoOmxVdec.o' failed
make[6]: *** [demoOmxVdec-demoOmxVdec.o] Error 1
make[6]: Leaving directory '/home/liuxueneng/WorkCode/Homlet-Tina-H2_H3/out/dolphin-p1/compile_dir/target/libcedarx/libcedarx/demo/demoOmxVdec'

编译的文件位于

.libcedarx/libcedarx/demo/demoOmxVdec

查找头文件位置

$find ./ -name "OMX_Types.h"
./libcedarc/openmax/include/OMX_Types.h
$ls ./libcedarc/openmax/include/
OMX_Audio.h OMX_ContentPipe.h OMX_Image.h OMX_Index.h OMX_Other.h OMX_VideoExt.h
OMX_Component.h OMX_Core.h OMX_IndexExt.h OMX_IVCommon.h OMX_Types.h OMX_Video.h

现在需要omx这个头文件到路径包含到对应的Makefile里面,

 349 demoOmxVdec_CFLAGS = $(CFLAGS_CDXG) $(LOCAL_INCLUDE)
350 demoOmxVdec_CPPFLAGS = $(CPPFLAGS_CDXG) $(LOCAL_INCLUDE)
351 LOCAL_INCLUDE = -I$(top_srcdir) \
352 -I$(top_srcdir)/libcore/base/include \
353 -I$(top_srcdir)/libcore/stream/include \
354 -I$(top_srcdir)/libcore/parser/include \
355 -I$(top_srcdir)/libcore/common/iniparser \
356 -I$(top_srcdir)/libcore/playback/include/ \
357 -I$(top_srcdir)/external/include/adecoder \
358 -I$(top_srcdir)/external/include \
359 -I$(top_srcdir)/../libcedarc/include \
360 -I$(top_srcdir)/../libcedarc/openmax/omxcore/inc/

查看Makefile发现LOCAL_INCLUDE原本是想包含该头文件路径,但是却被写错了“

-I$(top_srcdir)/../libcedarc/openmax/omxcore/inc/ 

正确的应该是

-I$(top_srcdir)/../libcedarc/openmax/include/

Makefile是由Makefile.am-->Makefile.in自动生成,正常需要修改Makefile.am文件然后重新configure生成新的Makefile执行Make
但在这里修改比较小,而且我只需要重新编译出结果即可,所以直接修改Makefile修正头文件路径即可。

另外在demo目录下的Makefile.am中有针对

demoOmxVdec demoOmxVenc

编译屏蔽的注释,具体原因不详。。。

   1 if XPLAYERDEMO_ENABLE
2 SUBDIRS = xplayerdemo demoOmxVdec parserdemo
3 endif
4
5 #SUBDIRS = muxtest parserdemo demoVdecoder demoVencoder xmetademo \
6 # jpegdemo recoderdemo xplayerdemo
7 #not enable omx in linux default
8 #demoOmxVdec demoOmxVenc
demoOmxVdec parserdemo 是我自己加进去编译的。

全志Linux Tina编译demoOmxVdec错误的更多相关文章

  1. [linux] Nginx编译安装错误error: the HTTP rewrite module requires the PCRE library

    nginx编译错误: 执行如下命令安装缺少的文件即可

  2. linux下编译常见错误

    1.浮点数例外:除数为0 2.已杀死:空间过大 3.已放弃:时间过长 4.段错误:递归 / 循环出不来

  3. 全志A33平台编译linux(分色排版)sina33

    全志A33平台编译linux 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 21504965 AT qq.com 完成时间:2017/12/12 17:36 版本:V1.0 Xshell 5 (Buil ...

  4. I.MX6 linux kernel编译错误处理

    /******************************************************************************** * I.MX6 linux kern ...

  5. 全志A33平台编译linux(分色排版)V1.1

    全志A33平台编译linux 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 21504965 AT qq.com 完成时间:2017/12/13 10:41 版本:V1.1 (一)解压缩lichee备用 ...

  6. linux下编译gcc6.2.0

    linux下编译gcc6.2.0 在archlinx的下gcc已经更新到6.2.1了,win10的WSL下还是gcc4.8.官方源没有比较新的版本,于是自己编译使用. GCC6的几个新特性 GCC 6 ...

  7. LINUX下编译安装PHP各种报错大集合

    本文为大家整理汇总了一些linux下编译安装php各种报错大集合 ,感兴趣的同学参考下. nginx1.6.2-mysql5.5.32二进制,php安装报错解决: 123456 [root@clien ...

  8. 如何用javac 和java 编译运行整个Java工程 (转载)【转】在Linux下编译与执行Java程序

    如何用javac 和java 编译运行整个Java工程 (转载)  http://blog.csdn.net/huagong_adu/article/details/6929817 [转]在Linux ...

  9. linux下编译qt5.6.0静态库——configure配置

    linux下编译qt5.6.0静态库 linux下编译qt5.6.0静态库 configure生成makefile 安装选项 Configure选项 第三方库: 附加选项: QNX/Blackberr ...

随机推荐

  1. RocketMQ详解(四)核心设计原理

    专题目录 RocketMQ详解(一)原理概览 RocketMQ详解(二)安装使用详解 RocketMQ详解(三)启动运行原理 RocketMQ详解(四)核心设计原理 RocketMQ详解(五)总结提高 ...

  2. 改Jupyter Notebook的默认工作路径?

    如何更改Jupyter Notebook的默认工作路径? 1.在cmd中输入命令使Jupyter产生配置文件:Jupyter_notebook_config.py jupyter notebook - ...

  3. 洛谷P1090——合并果子(贪心)

    https://www.luogu.org/problem/show?pid=1090 题目描述 在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆.多多决定把所有的果子合 ...

  4. Artix Linux作业系统的使用~

    Artix(阿蒂克斯)Linux 与Gentoo(贱兔) Linux真是夫唱妇随.由于Artix(阿蒂克斯)逃离Systemd,投入到了openrc温暖的怀抱,从而使得每安装一个软体,你还得额外为其安 ...

  5. 【PHP数据结构】链表的其它形式

    在上篇文章中,我们已经说过了链表除了简单的那一种单向链表外,还有其它的几种形式.当然,这也是链表这种结构的一大特点,非常地灵活和方便.我们简单的想一想,如果让最后一个节点的 next 指回第一个节点, ...

  6. nginx使用用户真实IP做hash(解决经过CND后ip_hash失效问题)

    在nginx中常用的有以下四种负载均衡的算法,分别是:round-robin.ip-hash.least-connected和weighted.当然在实际生产中或许使用最多的就是ip-hash了,一般 ...

  7. 5ucms的评论列表该怎么写

    查看所有评论 <a href="{sys:plusurl}comment/?id={field:id}">查看所有评论</a> <linkhref=& ...

  8. Jenkins持续交付实战演练

    jenkins web hook机制 运行jenkins任务触发方式: 主动运行 定时构建 就算代码库没有更新,也会构建. 通过代码库主动触发Jenkins的构建任务 jenkins向外暴露一个触发器 ...

  9. javascript 关闭当前页面

    1. 不带任何提示关闭窗口的js代码 <a href="javascript:window.opener=null;window.open('','_self');window.clo ...

  10. three.js 纹理动画实现

    需求: 1.使用一张长图.分别播放这张长图的不同位置 来达到动态内容的目的 解决方案: 1.纹理创建并指定重复方向:this.texture.wrapS = this.texture.wrapT = ...