Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu 11.04 beta1 编译 t264

环境:Ubuntu 11.04 beta11.../../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 or directory增加../obj目录3.../../encoder/display.c:67:22: fatal error: X11/Xlib.h: No such 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 as different kind of symbol将1025行的static const int8_t index[4][4][6] =     {        {{0, 0, 0, 0, 0, 0}, {0, 1, 0, 0, 0, 0}, {1, 1, 0, 0, 0, 0}, {1, 0, 0, 0, 1, 0}},        {{0, 2, 0, 0, 0, 0}, {1, 2, 0, 0, 0, 0}, {1, 3, 0, 0, 0, 0}, {1, 2, 0, 0, 1, 0}},        {{2, 2, 0, 0, 0, 0}, {2, 3, 0, 0, 0, 0}, {3, 3, 0, 0, 0, 0}, {3, 2, 0, 0, 1, 0}},        {{2, 0, 0, 0, 0, 1}, {2, 1, 0, 0, 0, 1}, {3, 1, 0, 0, 0, 1}, {1, 2, 0, 1, 1, 0}}    };移动到之后的三个函数内部6.../../encoder/plugins/ratecontrol.c:241:1: error: static declaration of ‘rc_update_pic’ follows non-static declaration
../../encoder/plugins/ratecontrol.c:77:6: note: previous declaration of ‘rc_update_pic’ was here
../../encoder/plugins/ratecontrol.c:594:1: error: static declaration of ‘rc_update_quad_model’ follows non-static declaration
../../encoder/plugins/ratecontrol.c:81:6: note: previous declaration 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.还有个错误是因为没有安装etags,装上就可以啦大功告成(lmy于2011年4月18日)Linux 下用gdb单步调试多进程方法Ubuntu 连接到无线局域网而无法上网相关资讯      Ubuntu 11.04 
  • Ubuntu 11.04 已经停止技术支持  (10/29/2012 06:01:43)
  • Ubuntu 11.04 即将停止维护  (09/18/2012 13:53:52)
  • Ubuntu 11.04内核升级 修复七个安  (12/01/2011 08:25:07)
  • 再见!Ubuntu 11.04  (09/20/2012 06:01:06)
  • Ubuntu 11.04 Code::Blocks 下编译  (01/03/2012 09:33:40)
  • Ubuntu 11.04在有一键GHOST的  (10/08/2011 09:22:31)
本文评论 查看全部评论 (0)
表情: 姓名: 字数