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

ffmpeg android compile failed #3029

Open
yangyun0123456 opened this issue Jan 2, 2024 · 2 comments
Open

ffmpeg android compile failed #3029

yangyun0123456 opened this issue Jan 2, 2024 · 2 comments
Labels

Comments

@yangyun0123456
Copy link
Contributor

Xmake 版本

v2.8.6

操作系统版本和架构

ubuntu

描述问题

ffmpeg android compile failed : ndk toolchains need update to llvm.

期待的结果

ffmpeg android compile pass

工程配置

xrepo install -p android --ndk=~/Android/Sdk/ndk/25.1.8937393 ffmpeg

附加信息和错误日志

Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar: not found

@waruqi
Copy link
Member

waruqi commented Jan 2, 2024

It works for me.

ruki-2:Downloads ruki$ xrepo install -p android --ndk=~/files/android-ndk-r20b/ ffmpeg
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> ffmpeg 6.1 
please input: y (y/n/m)

  => install ffmpeg 6.1 .. ok          

@yangyun0123456
Copy link
Contributor Author

you ndk version is old. New version ndk use llvm-ar llvm-ranlib.

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

No branches or pull requests

2 participants