Since I am trying to build as :
Code: Select all
compile-libvlc.sh -l -a arm64-v8a --release
Code: Select all
VLC_CONFIGURE_ARGS="\
--disable-alsa \
--disable-caca \
--disable-dbus \
--disable-dca \
--disable-decklink \
--disable-dv1394 \
--disable-faad \
--disable-fluidsynth \
--disable-goom \
--disable-jack \
--disable-libva \
--disable-linsys \
--disable-mad \
--disable-mtp \
--disable-nls \
--disable-notify \
--disable-projectm \
--disable-pulse \
--disable-qt \
--disable-samplerate \
--disable-schroedinger \
--disable-sdl-image \
--disable-shared \
--disable-sid \
--disable-skins2 \
--disable-svg \
--disable-tremor \
--disable-udev \
--disable-update-check \
--disable-v4l2 \
--disable-vcd \
--disable-vlc \
--disable-vlm \
--disable-vnc \
--disable-xcb \
--disable-avcodec \
--disable-avformat \
--disable-bluray \
--disable-chromecast \
--disable-dvbpsi \
--disable-dvdnav \
--disable-dvdread \
--disable-fluidlite \
--disable-gles2 \
--disable-gme \
--enable-jpeg \
--disable-libass \
--disable-libxml2 \
--disable-live555 \
--disable-lua \
--disable-matroska \
--disable-mod \
--disable-mpg123 \
--disable-opensles \
--enable-opus \
--enable-realrtsp \
--disable-smb2 \
--disable-sout \
--disable-swscale \
--disable-taglib \
--disable-vorbis \
--disable-zvbi \
--with-pic \
"
Code: Select all
make -C ffmpeg/vlc_build
make[1]: Entering directory '/home/dev/projects/libvlcjni/buildsystem/vlc/contrib/contrib-android-aarch64-linux-android/ffmpeg/vlc_build'
CC libavutil/hwcontext_vulkan.o
src/libavutil/hwcontext_vulkan.c:359:7: error: use of undeclared identifier 'VK_KHR_VIDEO_QUEUE_EXTENSION_NAME'
{ VK_KHR_VIDEO_QUEUE_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:360:7: error: use of undeclared identifier 'VK_KHR_VIDEO_DECODE_QUEUE_EXTENSION_NAME'
{ VK_KHR_VIDEO_DECODE_QUEUE_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:361:7: error: use of undeclared identifier 'VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME'
{ VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:362:7: error: use of undeclared identifier 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'
{ VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:363:7: error: use of undeclared identifier 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME'
{ VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:364:7: error: use of undeclared identifier 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME'
{ VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
^
src/libavutil/hwcontext_vulkan.c:469:29: error: invalid application of 'sizeof' to an incomplete type 'const VulkanOptExtension[]' (aka 'const struct VulkanOptExtension[]')
optional_exts_num = FF_ARRAY_ELEMS(optional_device_exts);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
^~~
src/libavutil/hwcontext_vulkan.c:1444:29: error: invalid application of 'sizeof' to an incomplete type 'const VulkanOptExtension[]' (aka 'const struct VulkanOptExtension[]')
for (int j = 0; j < FF_ARRAY_ELEMS(optional_device_exts); j++) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavutil/macros.h:53:34: note: expanded from macro 'FF_ARRAY_ELEMS'
#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
^~~
8 errors generated.
make[1]: *** [src/ffbuild/common.mak:81: libavutil/hwcontext_vulkan.o] Error 1
make[1]: Leaving directory '/home/dev/projects/libvlcjni/buildsystem/vlc/contrib/contrib-android-aarch64-linux-android/ffmpeg/vlc_build'
make: *** [../src/ffmpeg/rules.mak:237: .ffmpeg] Error 2
Thanks in advance!!
Cheers !