bilibili / bilibili/ijkplayer

使用cygwin编译的时候遇到ERROR: Failed to create toolchain.

Open
#4,359 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

$ ./compile-ffmpeg.sh all
====================
[*] check archs
====================
FF_ALL_ARCHS = armv5 armv7a arm64 x86 x86_64
FF_ACT_ARCHS = armv5 armv7a arm64 x86 x86_64

====================
[*] check env armv5
====================
FF_ARCH=armv5
FF_BUILD_OPT=

--------------------
[*] make NDK standalone toolchain
--------------------
build on CYGWIN_NT-10.0 x86_64
ANDROID_NDK=D:/Work/Tools/Android/android-ndk-r17b
IJK_NDK_REL=17.1.4828580
NDKr17.1.4828580 detected
Cygwin temp prefix=D:/Work/Tools/Cygwin/tmp/
HOST_OS=cygwin
HOST_EXE=.exe
HOST_ARCH=x86_64
HOST_TAG=windows-x86_64
HOST_NUM_CPUS=4
BUILD_NUM_CPUS=8
Auto-config: --arch=arm
ERROR: Failed to create toolchain.

跑compile-ffmpeg.sh all的时候。出现Failed to create toolchain,请教一下是什么情况呢?我看有人用cygwin是编译通过的

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with compile-ffmpeg.sh and the NDK standalone-toolchain step shown in the log, checking how the Cygwin environment and Android NDK r17b are detected. Reproduce the armv5 run and identify why toolchain creation fails; done means ./compile-ffmpeg.sh all creates the toolchain and proceeds past this step.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, shell
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.