Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译报错 libavutil/application.c:25:14: fatal error: 'openssl/evp.h' file not found #include <openssl/evp.h> #50

Open
JTWang4778 opened this issue Aug 3, 2020 · 4 comments

Comments

@JTWang4778
Copy link

当我下载完ffmpeg安装给定的命令./compile-ffmpeg.sh all 编译的时候报了如下错误:
`[*] compile ffmpeg

CC libavutil/application.o
CC libavutil/buffer.o
CC libavutil/camellia.o
clangclang: : warningwarning: clang: : optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]warning

: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
libavutil/application.c:25:14: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [libavutil/application.o] Error 1
make: *** Waiting for unfinished jobs....`
请问您之前有遇到过吗? 该如何解决

@befovy
Copy link
Owner

befovy commented Aug 3, 2020

按照 github action 中的步骤进行编译 .github/workflows/android_release.yml 应该不会有啥问题

@steveLzsLR
Copy link

博主的意思是看Actions的yaml脚本的步骤编译

@befovy
Copy link
Owner

befovy commented Oct 24, 2020

博主的意思是看Actions的yaml脚本的步骤编译

是的

@pelsor
Copy link

pelsor commented Dec 11, 2023

按照 actions 的 yaml 的步骤还是提示 ➜ ios git:(master) ✗ sh compile-ffmpeg.sh all

[*] check xcode version

FF_ALL_ARCHS = armv7 arm64 i386 x86_64

[*] check host

FF_ARCH=armv7
FF_BUILD_OPT=
build_root: /Users/huafeng/Desktop/test2/ijkplayer/ios

[*] check gas-preprocessor

gasp: /Users/huafeng/Desktop/test2/ijkplayer/ios/../extra/gas-preprocessor/gas-preprocessor.pl

[*] config arch armv7

build_name: ffmpeg-armv7
platform: iPhoneOS
osversion: -miphoneos-version-min=6.0

[*] make ios toolchain ffmpeg-armv7

build_source: /Users/huafeng/Desktop/test2/ijkplayer/ios/ffmpeg-armv7
build_prefix: /Users/huafeng/Desktop/test2/ijkplayer/ios/build/ffmpeg-armv7/output


[*] configurate ffmpeg


[*] check OpenSSL

OpenSSL Include /Users/huafeng/Desktop/test2/ijkplayer/ios/build/openssl-armv7/output/include


[*] configure

reuse configure


[*] compile ffmpeg

CC libavutil/application.o
CC libavutil/blowfish.o
CC libavutil/bprint.o
clangclangclang: : : warning: warning: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]

libavutil/application.c:25:14: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [libavutil/application.o] Error 1
make: *** Waiting for unfinished jobs....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants