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

ops/2025/2/25 20:11:27/

编译到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这个文件里面有问题,里面出现了中文乱码

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.c1	#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 directory1 | #include <opus_multistream.h>|          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: opus not found using pkg-config

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


http://www.ppmy.cn/ops/161280.html

相关文章

Kubernetes开发环境minikube | 开发部署MySQL单节点应用

minikube是一个主要用于开发与测试Kubernetes应用的运行环境 本文主要描述在minikube运行环境中部署MySQL单节点应用 minikube start --force kubectl get nodes 如上所示&#xff0c;启动minikube单节点运行环境 minikube ssh docker pull 如上所示&#xff0c;从MySQL官…

DeepSeek 助力 Vue 开发:打造丝滑的二维码生成(QR Code)

前言&#xff1a;哈喽&#xff0c;大家好&#xff0c;今天给大家分享一篇文章&#xff01;并提供具体代码帮助大家深入理解&#xff0c;彻底掌握&#xff01;创作不易&#xff0c;如果能帮助到大家或者给大家一些灵感和启发&#xff0c;欢迎收藏关注哦 &#x1f495; 目录 Deep…

DeepSeek 细节之 MoE

DeepSeek 细节之 MoE DeepSeek 团队通过引入 MoE&#xff08;Mixture of Experts&#xff0c;混合专家&#xff09; 机制&#xff0c;以“分而治之”的思想&#xff0c;在模型容量与推理成本之间找到了精妙的平衡点&#xff0c;其中的技术实现和细节值得剖思 Transformer 演变…

DeepSeek 助力 Vue 开发:打造丝滑的单选按钮(Radio Button)

前言&#xff1a;哈喽&#xff0c;大家好&#xff0c;今天给大家分享一篇文章&#xff01;并提供具体代码帮助大家深入理解&#xff0c;彻底掌握&#xff01;创作不易&#xff0c;如果能帮助到大家或者给大家一些灵感和启发&#xff0c;欢迎收藏关注哦 &#x1f495; 目录 Deep…

2021年蓝桥杯javaB组第二场题目+部分解析

一、 求余 1 请 问 2021 % 20 的 值 是 多 少&#xff1f; public static void main(String[] args) {System.out.println(2021%20);} 二、双阶乘 59375 解一 public static void main(String[] args) {long n1;for(int i2021;i>0;i-2) {n*i;if(n>100000) {n%100…

洛谷P9242 [蓝桥杯 2023 省 B] 接龙数列

题目描述 对于一个长度为 K 的整数数列&#xff1a;A1​,A2​,…,AK​&#xff0c;我们称之为接龙数列当且仅当 Ai​ 的首位数字恰好等于 Ai−1​ 的末位数字&#xff08;2≤i≤K&#xff09;。 例如 12,23,35,56,61,11 是接龙数列&#xff1b;12,23,34,56 不是接龙数列&…

新型物联网电瓶车充电桩在居民区的应用优势

安科瑞刘鸿鹏 摘要 随着电动自行车的普及&#xff0c;居民住宅区对安全、便捷的充电设施需求日益增加。ACX10A型电瓶车智能充电桩作为一种新型的充电设备&#xff0c;具备多种智能化功能&#xff0c;能够有效解决居民住宅区内的充电问题。本文将从ACX10A型电瓶车充电桩的功能…

鸿蒙5.0实战案例:基于ImageKit对图片进行处理

往期推文全新看点&#xff08;文中附带全新鸿蒙5.0全栈学习笔录&#xff09; ✏️ 鸿蒙&#xff08;HarmonyOS&#xff09;北向开发知识点记录~ ✏️ 鸿蒙&#xff08;OpenHarmony&#xff09;南向开发保姆级知识点汇总~ ✏️ 鸿蒙应用开发与鸿蒙系统开发哪个更有前景&#…