Closed MartinEesmaa closed 1 year ago
https://developer.android.com/ndk/guides/cmake
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
That's spelled wrong for the NDK toolchain file. -DANDROID_ABI=arm64-v8a
. Does that fix the problem? I don't think the toolchain file tries to interpret CMake's own interface.
-DCMAKE_SYSTEM_NAME=Android
This is unnecessary when using the NDK toolchain file. Probably asymptomatic though.
@DanAlbert, thank you for your response.
I think it fixed to detect FFmpeg configuration now by your help of -DANDROID_ABI=arm64-v8a
.
Thanks, I will close the issue.
Description
Hello everyone, I have a problem using latest Android NDK r25c. When I tried to compile libvvdec with FFmpeg before mpv build and it gave error of my own repository FFmpeg configuration in ffbuild/config.log:
Here is my CMAKE command configurations and built success before my FFmpeg configuration came error:
My steps before I got error on FFmpeg during mpv build:
git clone --depth=1 https://github.com/MartinEesmaa/mpv-android-vvc -b gpu-next
./download.sh
in buildscripts folder../buildall.sh --arch arm64 mpv
.For Android NDK r24 works well without having issues, but now my android ndk r25c having issues. Is it maybe NDK or compiler bug?
Affected versions
r25
Canary version
No response
Host OS
Linux
Host OS version
Ubuntu 22.04 LTS
Affected ABIs
All affected ABIs
Build system
CMake
Other build system
No response
minSdkVersion
21
Device API level
21