Having Compilation error on video-format.c for video_orc_unpack_VUYA and video_orc_pack_VYUY
I'm having a compilation error in master branch:
Build command: ./autogen.sh --prefix=/usr --libdir=/usr/lib --disable-gtk-doc
Here is the output error message:
gcc -DNDEBUG -g -O3 -Wall -g -O2 -fPIC -I/home/root/Gst_framework/gst-plugins-base/gst-libs -I/home/root/Gst_framework/gst-plugins-base/gst-libs -I/usr/include/gstreamer-1.0 -I/usr/lib/libffi-3.2.1/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gstreamer-1.0 -I/usr/lib/libffi-3.2.1/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c /home/root/Gst_framework/gst-plugins-base/gst-libs/gst/app/tmp-introspectw0c3nmvw/GstApp-1.0.c -o /home/root/Gst_framework/gst-plugins-base/gst-libs/gst/app/tmp-introspectw0c3nmvw/GstApp-1.0.o -Wno-deprecated-declarations -pthread
CC libgstfft_1.0_la-kiss_fftr_s16.lo
video-format.c: In function 'unpack_VUYA':
video-format.c:5266:3: error: implicit declaration of function 'video_orc_unpack_VUYA'; did you mean 'video_orc_unpack_VYUY'? [-Werror=implicit-function-declaration]
video_orc_unpack_VUYA (d, s, width);
^~~~~~~~~~~~~~~~~~~~~
video_orc_unpack_VYUY
video-format.c:5266:3: error: nested extern declaration of 'video_orc_unpack_VUYA' [-Werror=nested-externs]
video-format.c: In function 'pack_VUYA':
video-format.c:5278:3: error: implicit declaration of function 'video_orc_pack_VUYA'; did you mean 'video_orc_pack_VYUY'? [-Werror=implicit-function-declaration]
video_orc_pack_VUYA (d, s, width);
^~~~~~~~~~~~~~~~~~~
video_orc_pack_VYUY
video-format.c:5278:3: error: nested extern declaration of 'video_orc_pack_VUYA' [-Werror=nested-externs]
CC libgstfft_1.0_la-kiss_fftr_s32.lo
g-ir-scanner: link: /bin/sh ../../../libtool --mode=link --tag=CC gcc -o /home/root/Gst_framework/gst-plugins-base/gst-libs/gst/app/tmp-introspectw0c3nmvw/GstApp-1.0
After I added #include "video-orc-dist.h" in video-format.c file, I managed to compile successful.
It is missing header file that define for video_orc_pack_VUYA and video_orc_unpack_VUYA function.