在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config

简介: 在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config

开始是libass。这个错误吾很熟悉,就是libass.pc之类的所在目录没指定。


配置PKG_CONFIG_PATH之后,还是报错。

编译libass、安装libass都报错。

去掉enable-libass,报另外的错。

 据此判断,是另外的错误。分析config.log,判断是CPU类型不对。大约意思是现在是龙芯MIPS,编译目标是X86。于是修改了编译脚本:


./configure \
    --arch=loongson3a \
    --cpu=generic \

 顺利编译通过。

目录
相关文章
|
2月前
|
Linux
Linux编译FFmpeg
Linux编译FFmpeg
67 0
|
15天前
【已解决】ffmpy3.FFExecutableNotFoundError: Executable ‘ffmpeg‘ not found
【已解决】ffmpy3.FFExecutableNotFoundError: Executable ‘ffmpeg‘ not found
11 1
|
28天前
|
PHP
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
php 使用phpize报错Cannot find config.m4. Make sure that you run ‘/usr/bin/phpize‘ in the top l
28 1
|
8天前
|
PHP 数据库
phpMyAdmin报错 in ./libraries/config/FormDisplay.php#661 continue targeting switch is equivalent to
phpMyAdmin报错 in ./libraries/config/FormDisplay.php#661 continue targeting switch is equivalent to
8 0
|
29天前
|
Ubuntu
蓝易云 - Ubuntu18.04安装编译ffmpeg库
现在,你应该已经在你的Ubuntu 18.04系统上成功安装和编译了FFmpeg库。你可以通过运行 `ffmpeg -version`来验证安装是否成功。
26 0
|
2月前
|
Ubuntu Linux Shell
Android-NDK-clang 编译 FFmpeg
Android-NDK-clang 编译 FFmpeg
54 0
|
2月前
|
移动开发 Unix Linux
ffmpeg编译so
ffmpeg编译so
26 0
|
2月前
|
自然语言处理 JavaScript
vue element plus Config Provider 全局配置
vue element plus Config Provider 全局配置
70 0
|
25天前
|
存储 消息中间件 Java
Java一分钟之-Spring Cloud Config:外部化配置
【6月更文挑战第8天】Spring Cloud Config提供外部化配置,通过Config Server管理和版本控制微服务配置。本文涵盖Config Server与Client的配置、常见错误、多环境配置、实时更新及使用示例。注意配置服务器URL、环境变量设置、Bus配置以及安全问题。使用Config能提升系统灵活性和可维护性,但要留意日志以确保配置正确和安全。
95 10
|
2天前
|
JavaScript
vue 配置【详解】 vue.config.js ( 含 webpack 配置 )
vue 配置【详解】 vue.config.js ( 含 webpack 配置 )
7 0