33 Star 143 Fork 64

gozfree / aquila

 / 详情

编译错误

待办的
创建于  
2021-10-31 10:59

/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

评论 (3)

deepvision2021 创建了任务

23c4704
已fix,请更新

下载最新,编译时提升找不到 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

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
2088764 gozfreee 1578965962
C
1
https://gitee.com/gozfreee/aquila.git
git@gitee.com:gozfreee/aquila.git
gozfreee
aquila
aquila

搜索帮助