引言
技术规范
msys2 msys2-x86_64-20220118
ffmpeg N-105350-g3c804fdd4a
编译流程
- 安装msys2(使用默认路径),并将C:\msys64加入到环境变量PATH中
- 启动msys2_shell.cmd,并通过pacman安装依赖
# normal msys2 packages pacman -S make pkgconf diffutils # mingw-w64 packages and toolchains pacman -S mingw-w64-x86_64-nasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 - 进入ffmpeg源码目录,执行编译
问题
在cygwin下未通过编译,报错:error: implicit declaration of function "utf8towchar"
参考资料
https://ffmpeg.org/platform.html
https://coding.m.imooc.com/questiondetail?cid=415&qid=245373
DISCUSSION
评论
还没有公开评论,欢迎留下想法。