h264 编译
来源:互联网 发布:php 换行输出 编辑:程序博客网 时间:2024/06/06 13:23
1.../../common/cabac_engine.h:26:23: fatal error: Bitstream.h:No such file or directory
修改#include "Bitstream.h"为#include "bitstream.h"
2.Fatal error: can't create ../obj/cabac.o: No such file ordirectory
增加../obj目录
3.../../encoder/display.c:67:22: fatal error: X11/Xlib.h: Nosuch file or directory
安装libx11-dev包
4.../../encoder/display.c:120:33: fatal error:X11/extensions/XShm.h: No such file or directory
安装x11proto-xext-dev和libxext-dev(安了这个第8个错误应该不错出现了)
5.../../decoder/block.c:1025:25: error: ‘index’ redeclared asdifferent kind of symbol
将1025行的
static const int8_t index[4][4][6] =
移动到之后的三个函数内部
6.../../encoder/plugins/ratecontrol.c:241:1: error: staticdeclaration of ‘rc_update_pic’ follows non-static declaration
../../encoder/plugins/ratecontrol.c:77:6: note: previousdeclaration of ‘rc_update_pic’ was here
../../encoder/plugins/ratecontrol.c:594:1: error: staticdeclaration of ‘rc_update_quad_model’ follows non-staticdeclaration
../../encoder/plugins/ratecontrol.c:81:6: note: previousdeclaration of ‘rc_update_quad_model’ was here
将77行和81行的两个函数定义成静态的
7.
compiling object file "../obj/cpu.o" ...
make: f: Command not found
make: [../obj/cpu.o] Error 127 (ignored)
compiling object file "../obj/dct_sse2.o" ...
make: f: Command not found
make: [../obj/dct_sse2.o] Error 127 (ignored)
compiling object file "../obj/interpolate_sse2.o" ...
make: f: Command not found
make: [../obj/interpolate_sse2.o] Error 127 (ignored)
compiling object file "../obj/sad.o" ...
make: f: Command not found
make: [../obj/sad.o] Error 127 (ignored)
compiling object file "../obj/utility_mmx.o" ...
make: f: Command not found
make: [../obj/utility_mmx.o] Error 127 (ignored)
creating binary "../bin/t264"
gcc: ../obj/cpu.o: No such file or directory
gcc: ../obj/dct_sse2.o: No such file or directory
gcc: ../obj/interpolate_sse2.o: No such file or directory
gcc: ../obj/sad.o: No such file or directory
gcc: ../obj/utility_mmx.o: No such file or directory
make: *** [bin] Error 1
这是因为没装nasm,sudo apt-get install nasm就可以了
8./usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make: *** [bin] Error 1
通过sudo apt-get install libxext-dev解决
9.建立bin目录
10.../obj/yuvrgb24.o: In function `init_dither_tab':
yuvrgb24.c:(.text+0x82): undefined reference to `clp'
yuvrgb24.c:(.text+0x92): undefined reference to `clp'
yuvrgb24.c:(.text+0xa1): undefined reference to `clp1'
yuvrgb24.c:(.text+0xb6): undefined reference to `clp'
yuvrgb24.c:(.text+0xef): undefined reference to `clp'
../obj/yuvrgb24.o: In function `ConvertYUVtoRGB':
yuvrgb24.c:(.text+0x163): undefined reference to `clp'
通过在makefile的CFLAGS中加-DUSE_DISPLAY解决
11.还有个错误是
/bin/sh: 1: ctags: not found
因为没有安装ctags,装上就可以
sudo apt-get install ctags
- h264 编译
- ffmpeg编译,解码 H264
- ffmpeg编译,解码 H264
- ffmpeg编译,解码 H264
- ffmpeg编译,解码 H264
- ffmpeg编译,解码 H264
- 编译ffmpeg 2.6.3 h264
- h264编译通不过问题
- 编译ffmpeg并支持H264
- webrtc添加H264支持编译
- h264 ffmpeg 400 交叉编译
- 编译只包含h264 decoder的ffmpeg
- 编译只包含h264 decoder的ffmpeg
- 编译ffmpeg for x264 ,H264编码解码
- 编译只包含h264 decoder的ffmpeg
- h323plus下h264编码器编译和使用
- h264
- H264
- iOS 如何在一个应用程序中调用另一个应用程序
- LDD3源码分析之字符设备驱动程序
- 编程珠玑(2)第二章学习笔记
- OMA DRM V1.0学习笔记
- Unix网络API函数(2)
- h264 编译
- C++静态绑定和动态绑定
- Oracle 1Z0-042
- utf8转unicode
- 如何在sed中使用变量
- IOS里人性化的时间显示
- Unix网络API函数(3)
- 如何更改 navigation bar 或者 tab bar 的背景图片
- flask uwsgi nginx 出现502 Bad Gateway