SRS编译arm版本出错 ERROR: opus not found using pkg-config

编译到ffmpeg提示

If you think configure made a mistake, make sure you are using the latest

version from Git. If the latest version fails, report the problem to the

ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "ffbuild/config.log " produced by configure as this will help

solve the problem.

Build ffmpeg-4-fit failed, ret=1

我查看了srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/ffmpeg-4-fit/ffbuild/config.log这个文件里面有问题,里面出现了中文乱码

bash 复制代码
check_func_headers opus_multistream.h opus_multistream_decoder_create -I/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/include/opus -L/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/lib -lopus -lm
test_ld cc -I/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/include/opus -L/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/lib -lopus -lm
test_cc -I/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/include/opus -L/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/lib
BEGIN /tmp/ffconf.34T5YJC6/test.c
    1	#include <opus_multistream.h>
    2	#include <stdint.h>
    3	long check_opus_multistream_decoder_create(void) { return (long) opus_multistream_decoder_create; }
    4	int main(void) { int ret = 0;
    5	 ret |= ((intptr_t)check_opus_multistream_decoder_create) & 0xFFFF;
    6	return ret; }
END /tmp/ffconf.34T5YJC6/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-pointer -fPIC -pthread -I/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/include/opus -L/root/\æ\¡\Œ\é\\¢/srs-develop/trunk/objs/Platform-SRS7-Linux-5.10.160-GCC11.4.0-aarch64/3rdparty/opus/lib -c -o /tmp/ffconf.34T5YJC6/test.o /tmp/ffconf.34T5YJC6/test.c
/tmp/ffconf.34T5YJC6/test.c:1:10: fatal error: opus_multistream.h: No such file or directory
    1 | #include <opus_multistream.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: opus not found using pkg-config

解决办法,注意srs源码所在的文件不要有中文,重新下载 源码文件放到其他地方重新编译解决

相关推荐
沉在嵌入式的鱼19 小时前
使用nomachine远程连接ARM设备桌面
arm开发·rk3588·远程连接·nomachine
进击的程序汪1 天前
Linux 启动过程流程图--ARM版
linux·运维·arm开发
比奇堡在逃帅哥11 天前
硬件-DAY04(ds18b20、ARM内核)
arm开发
Ronin-Lotus11 天前
微处理器原理与应用篇---ARM常见汇编指令
汇编·arm开发·微处理原理与应用
切糕师学AI11 天前
半导体行业中的专用标准产品ASSP是什么?
arm开发·嵌入式硬件·嵌入式·计算机体系结构
Svan.12 天前
Portable Watch:基于STM32的便携智能手表
arm开发·驱动开发·stm32·嵌入式硬件·硬件工程·pcb工艺·智能手表
凉、介13 天前
CPU Cache 的映射与寻址
linux·arm开发·数据库·redis·缓存·嵌入式
学渣6765613 天前
单片机开发日志cv MDK-ARM工具链迁移到MAKE
arm开发·单片机·嵌入式硬件
ldinvicible13 天前
基于ARM ubuntu如何进行交叉编译
arm开发·数据库·ubuntu
Jason_zhao_MR13 天前
多协议物联网关的方案测试-基于米尔全志T536开发板
arm开发·嵌入式硬件·mcu·物联网·嵌入式