After that libva error mentioned in https://forum.videolan.org/viewtopic.php?f=32&t=163830 , I tried to not include libva in compilation but I encounter a linking error on glGenTextures :
Code: Select all
Making all in .
make[4]: Entering directory '/home/dev/projects/libvlcjni/vlc/build-android-aarch64-linux-android/modules'
CCLD libmediacodec_plugin.la
clang-14: warning: argument unused during compilation: '-mbranch-protection=standard' [-Wunused-command-line-argument]
ld: error: undefined symbol: glGenTextures
>>> referenced by utils.c:980 (../../modules/video_output/android/utils.c:980)
>>> libandroid_utils_la-utils.o:(vlc_asurfacetexture_New) in archive ./.libs/libandroid_utils.a
ld: error: undefined symbol: glDeleteTextures
>>> referenced by utils.c:1059 (../../modules/video_output/android/utils.c:1059)
>>> libandroid_utils_la-utils.o:(vlc_asurfacetexture_New) in archive ./.libs/libandroid_utils.a
>>> referenced by utils.c:1071 (../../modules/video_output/android/utils.c:1071)
>>> libandroid_utils_la-utils.o:(vlc_asurfacetexture_New) in archive ./.libs/libandroid_utils.a
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:21207: libmediacodec_plugin.la] Error 1
I am asking because I've checked about this glGenTextures and Ubuntu's man tells me this :
Code: Select all
Provided by: opengl-4-man-doc_1.0~svn22917-1_all bug
NAME
glGenTextures - generate texture names
C SPECIFICATION
void glGenTextures(GLsizei n, GLuint * textures);
Code: Select all
sudo apt-get install libgl1-mesa-dev mesa-common-dev
Code: Select all
glxinfo | grep -i opengl
Code: Select all
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.0.4-0ubuntu1-22.04.1
Thanks in advance!
Cheers