首页 > 解决方案 > FFmpeg 构建错误“未找到 openssl”(适用于 Mac 上的 iOS)

问题描述

我想用--enable-openssl 构建FFmpeg,但它没有说“错误:未找到openssl”,尽管我在构建脚本中链接了它(我正在使用这个https://github.com/DeviLeo/DLGPlayer/blob /master/How_to_build_ffmpeg_with_openssl.md)。

openssl 没有作为外部库连接到 FFmpeg,因为我可以在调用时验证

./configure --enable-openssl

在终端的 ffmpeg 文件夹中。

如何将文件夹设置为外部库?

标签: iosbuildffmpegopenssl

解决方案


同时,来自 DLGPlayer 项目的 DeviLeo 在此线程中为我指明了正确的方向:https ://github.com/DeviLeo/DLGPlayer/issues/19

看来我使用了错误的 openssl 版本。他更新了他的构建脚本,它可以正常工作。


推荐阅读