/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4510:5: note: expected ‘AVCodecContext * {aka struct AVCodecContext *}’ but argument is of type ‘AVCodec * {aka struct AVCodec *}’
int avcodec_close(AVCodecContext *avctx);
^~~~~~~~~~~~~
gcc -c -g -Wall -I./ -I./algo -I./codec -I./device -I./filter -I./muxer -I./playback -I./protocol -I./util -I/usr/local/include/gear-lib -Wl,-rpath=/usr/local/lib pkg-config --cflags sdl
device/device.c -o device/device.o
gcc -c -g -Wall -I./ -I./algo -I./codec -I./device -I./filter -I./muxer -I./playback -I./protocol -I./util -I/usr/local/include/gear-lib -Wl,-rpath=/usr/local/lib pkg-config --cflags sdl
device/usbcam.c -o device/usbcam.o
gcc -c -g -Wall -I./ -I./algo -I./codec -I./device -I./filter -I./muxer -I./playback -I./protocol -I./util -I/usr/local/include/gear-lib -Wl,-rpath=/usr/local/lib pkg-config --cflags sdl
device/microphone.c -o device/microphone.o
gcc -c -g -Wall -I./ -I./algo -I./codec -I./device -I./filter -I./muxer -I./playback -I./protocol -I./util -I/usr/local/include/gear-lib -Wl,-rpath=/usr/local/lib pkg-config --cflags sdl
device/vdevfake.c -o device/vdevfake.o
gcc -c -g -Wall -I./ -I./algo -I./codec -I./device -I./filter -I./muxer -I./playback -I./protocol -I./util -I/usr/local/include/gear-lib -Wl,-rpath=/usr/local/lib pkg-config --cflags sdl
filter/filter.c -o filter/filter.o
filter/filter.c: In function ‘filter_create’:
filter/filter.c:325:16: error: ‘struct queue_branch’ has no member named ‘RD_FD’
fd = qb->RD_FD;
^~
filter/filter.c:329:16: error: ‘struct queue_branch’ has no member named ‘RD_FD’
fd = qb->RD_FD;
^~
Makefile:151: recipe for target 'filter/filter.o' failed
make: *** [filter/filter.o] Error 1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
下载最新,编译时提升找不到 libmp4.h 头文件;gear-lib 没有编译libmp4库,
#basic libraries
BASIC_LIBS="libposix libtime liblog libdarray libthread libgevent libworkq libdict libhash libsort
librbtree libringbuffer libvector libbase64 libmedia-io libmp4
libdebug libfile libconfig libuac libuvc libqueue libplugin libhal libsubmask"
添加libmp4 编译通过。谢谢大虾!
aquila依赖的一些库需要进入gear-lib后手动编译,原因是gear-lib为了跨平台默认只编译基础库,libmp4需要依赖ffmpeg
登录 后才可以发表评论