-
Hi All, The decoder code is working good on my Linux machine. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Cross compilation for Android is straight forward using CMake as documented here: For example to build for arm64/aarch64:
The only thing specific to vvdec, that I am doing here is setting If you want to build a shared library, also specify |
Beta Was this translation helpful? Give feedback.
-
Oh, I just realized, that armv7 builds of the decoder crash on Android. So it only run in 64 bit mode on devices that support armv8 for now. I'll look into that, but I will probably not have the time before August or September. |
Beta Was this translation helpful? Give feedback.
-
I have no problem building with that NDK and CMake 3.26.4.
Your build log guides you on what needs to be done: please try using a recent CMake version. |
Beta Was this translation helpful? Give feedback.
Cross compilation for Android is straight forward using CMake as documented here:
https://developer.android.com/ndk/guides/cmake#command-line
For example to build for arm64/aarch64:
The only thing specific to vvdec, that I am doing here is setting
VVDEC_TOPLEVEL_OUTPUT_DIRS=0
. That way the output will be written tobuild/android/{bin,lib}/
instead of thebin/
andlib/
directories in the top level source dir, so it doesn't interfere with any builds for the curre…