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

[email protected] 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源码所在的文件不要有中文,重新下载 源码文件放到其他地方重新编译解决

相关推荐
亿道电子Emdoor12 小时前
【ARM】MDK-解决单机版LIC获取报错
arm开发·stm32·单片机·arm
Jason_zhao_MR1 天前
国产开发板—米尔全志T113-i如何实现ARM+RISC-V+DSP协同计算?
arm开发·嵌入式硬件·mcu·嵌入式·risc-v
爱吃馒头爱吃鱼1 天前
Qt在ARM中,如何使用drmModeObjectSetProperty 设置 Plane 的 zpos 值
开发语言·arm开发·qt
EasyCVR1 天前
跨平台IPC通信、嵌入式WebRTC轻量化引擎:解析EasyRTC在ARM/Linux平台的性能突破
linux·arm开发·webrtc
梅尔文.古1 天前
MCU-芯片时钟与总线和定时器关系,举例QSPI
arm开发·单片机·嵌入式硬件·汽车
不知真不只2 天前
arm之s3c2440的I2C的用法
arm开发
yyqzjw2 天前
【Arm+Qt+Opencv】基于人脸识别考勤系统实战
arm开发·qt·opencv
charlie1145141913 天前
ARM架构薄记2——ARM学习架构抓手(以ARMv7为例子)
arm开发·学习·架构
Invinciblenuonuo3 天前
STM32八股【2】-----ARM架构
arm开发·stm32·架构
TSINGSEE3 天前
EasyRTC轻量级Webrtc音视频通话SDK,助力带屏IPC在嵌入式设备中的应用
arm开发·微信·架构·音视频·webrtc